Menubar › CSS class
-
AuthorPost
-
Tony
GuestHi,
I wish to have a customised CSS style for just an item of my menu.In the Edit Item menu page, I have therefore added a CSS class names ‘special’. Then, I have edited the ssd-blue.css CSS file (on the server side) in which I have added these lines:
.special {
background: #E53356; /* color menu special */
}But it doesn’t work.
Am I doing something wrong?
In advance, thank you.
andrea
Plugin AuthorHi Tony,
May I see your page? If you wish you can share your URL privately using my Contact page.
andrea
Plugin AuthorHi Tony,
Thank you for your link. The CSS you can use is:
.ssf-blue li.special { background: #E53356; }That’s because CSS gives priority to longer (i.e. more specific) rules over shorter ones.
-
AuthorPost