CSS class

Home Forums Menubar Forum CSS class

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10687 Reply
    Tony
    Guest

    Hi,
    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.

    #10688 Reply
    andrea
    Keymaster

    Hi Tony,

    May I see your page? If you wish you can share your URL privately using my Contact page.

    #10689 Reply
    andrea
    Keymaster

    Hi 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.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: CSS class
Your information: