Log in

View Full Version : Help with customizing 'jQuery Drop Line Tabs'



tseho
09-19-2015, 12:55 PM
Hi there,

I found this fine 'jQuery Drop Line Tabs' from this site (http://www.dynamicdrive.com/style/csslibrary/item/jquery_drop_line_tabs/). I am trying to customize the ccs so that every main link tab 'Home' 'css exapmles' etc. would have a different colour like here: http://hotelkultahovi.fi.

My customization is here: http://www.mjvirtanen.net/menu/menu.htm

I wonder if someone could help me with this problem.

Thank You in advance.

Beverleyh
09-19-2015, 01:07 PM
try applying a class to each tab and then assign a different background colour via CSS;

<li><a class="blue" href="http://www.dynamicdrive.com/"><span>Home</span></a></li>

.droplinetabs a.blue {
...
background: blue;
...
}

tseho
09-19-2015, 01:23 PM
try applying a class to each tab and then assign a different background colour via CSS;

<li><a class="blue" href="http://www.dynamicdrive.com/"><span>Home</span></a></li>

.droplinetabs a.blue {
...
background: blue;
...
}

Thank You very much. That really did the trick.