• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Online / Offline status CSS styling

Admin

Well-Known Member
Staff member
Administrator
This is a very simply, alternativ ON / OFF status styling via CSS.
Check out the screenshots at the end of the post, the status can be found on the right if the nickname




1. Open your "additional.css" and add this code (feel free to pick your desired colors)


Code:
/* BEGIN CUSTOM ONLINE STATUS*/


.customstatuson { 
background: #E1FA05; 
color: #000;
}


.customstatusoff { 
background: #FA7305;
color: #FFF; 
}


.customstatusinv { 
background: #FFF;
color: #3c3c3c; 
}


/* END CUSTOM ONLINE STATUS*/


2. Open your "postbit_onlinestatus" template and replace the existing code with this one


Code:
<vb:if condition="$onlinestatus==0"><span class="customstatusoff">&nbsp;OFF&nbsp;</span></vb:if>
<vb:if condition="$onlinestatus==1"><span class="customstatuson">&nbsp;ON&nbsp;</span></vb:if>
<vb:if condition="$onlinestatus==2"><span class="customstatusinv">&nbsp;INV&nbsp;</span></vb:if>
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top