Back to vBulletin 3.8 Template Modifications

[DMC]CSS Button Hover for All vB Default Button
Mod Version: 1.00, by kawe

vB Version: 3.8.4 Rating: (0 vote - 0 average) Installs: 16
Released: 18 Oct 2009 Last Update: Never Downloads: 3
Not Supported Template Edits Re-usable Code  

Reply Post Button


Postbit Edit Post


New Thread


ok
how to add it ?

add this code to additional CSS ur template

PHP Code:
.button {
display:inline;
}
.
button a {
font-family"Trebuchet MS"ArialHelveticasans-serif;
font-size:12px;
font-weight:bold;
displayblock;
padding:5px 21px;
background:#F9f9f9;
color:#3b5998;
float:left;
text-align:center;
border-top:1px solid  #C9C9DA;
border-right:1px solid #C9C9DA;
border-bottom:1px solid #C9C9DA;
border-left:1px solid #C9C9DA;
}
.
button a:hover {
font-family"Trebuchet MS"ArialHelveticasans-serif;
font-size:12px;
font-weight:bold;
background:#FFFFE0;
color:#3b5998;
border-top:1px solid #C9C9DA;
border-right:1px solid #C9C9DA;
border-bottom:1px solid #C9C9DA;
border-left:1px solid #C9C9DA;

then you can search a button code on template
then replace with
PHP Code:
<div class="button"
example :
this is a default code for NEW THREAD BUTTON
PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]border="0" /></a><else />&nbsp;</if></td
then, i change to CSS Button with this code

PHP Code:
<td class="smallfont"><if condition="$show['newthreadlink']"><div class="button"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]rel="nofollow">New Thread</a></div><else />&nbsp;</if></td
Done ...

for add Image on CSS Button u can use this code on CSS Adittional
PHP Code:
background#00ff00 url('http://url image') no-repeat fixed left; 

Download

No files for download.

Similar Mods

New Posting Features Add Pm Button, Find Post By User Button, And User To Contacts Button, To Postbit vBulletin 3.7 Template Modifications
Default button vBulletin Button Sets

vblts.ru supports vBulletin®, 2022-2024