Log in

View Full Version : Change navbar tab background for ONE tab


MNNLeafre
10-16-2011, 07:30 PM
Anyone know how to do this? Just so it only changes only one tab's background in the navbar

Attitude5ire
10-17-2011, 04:14 PM
Just give that tab a class ex:
class="specialone"
and then add CSS for it in additional.css

MNNLeafre
10-18-2011, 12:24 AM
Okay, thanks! However, I just tried this. I made the class as so:
p.test{
background-color: black;
background-repeat: repeat;
color: white;
}

And it turned out like this
https://vborg.vbsupport.ru/external/2011/10/35.png

|:
How do I make it cover the WHOLE tab?

nerbert
10-18-2011, 03:02 AM
Just use inline CSS


<li class="selected"><a class="navtab" href="{vb:link forumhome}"
style="background-color:black;background-image:none">{vb:rawphrase forum}</a>