WebsiteBaker Support (2.8.x) > Templates, Menus & Design

Chnage color of menu-current **SOLVED**

<< < (2/2)

Ruud:
Hi Gerard,

The li.menu-current only applies to the list item, not the text that belongs to the <a> tag.
Adding the "a" to the line will do the trick.


--- Code: ---#menu li.menu-current a, #menu li.menu-selected a, #menu li.menu-parent a{
font-style: italic;
color: #69f;
}
--- End code ---


Ruud

Gerard:
Hi Ruud,

Damn.... I played with that "a" earlier but put it before the class "menu-xxx" instead of after it. Like this:


--- Code: ---#menu a li.menu-current, #menu a li.menu-selected , #menu a li.menu-parent {
font-style: italic;
color: #69f; /*  This color seems not to be working */
}
--- End code ---

And then it doesn't work. I remember I saw that way of writing in a template, once.

But it works great now!! Thank you very much!

Groetjes,

Gerard

Navigation

[0] Message Index

[*] Previous page

Go to full version