Home>Support>Highlight menu and submenu on Origami premium

Highlight menu and submenu on Origami premium

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Is it posible to highlight the menu the cursor is over (and the submenu item) to another color?
I’m using Origami premium and have the followin for customizing the menu look:

#menu ul {

    background: rgba(249,249,249,0.8) !important;

}

 

#menu ul ul li {

    width: 120px;

    text-align: left;

    padding: 7px 0px 7px 40px;

    background: rgba(249,249,249,0.6) !important;

}

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Eugeni

    Could you perhaps take a quick look at the thread below:

    https://siteorigin.com/thread/active-link-color/

    I worked something up very close to what you want in that thread.

    Let me know how you come along and I’ll help finish if needs be.

    Thanks

  2. 11 years, 1 month ago Eugeni Macia

    Thanks Andrew

    I used the “#menu ul ul li a:hover { }” and “#menu ul a:hover { }”, now I can higlight the main menu choosen and the line on the drop down iindependtly.
    To get it perfect can I keep the menu higlighted while the cursor is on its sub menu items? I add an imgur link to you to see. http://imgur.com/HdseNCm When I’m on the items, the top menu loose the highlight.

    Thanks

  3. 11 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Shooting from the hip here but try assigning the hover color like this instead:

    #menu ul li:hover > a { }
    

    So instead of putting the hover pseudo class on the “a” element we’re putting it on the “li”.

  4. 11 years, 1 month ago Eugeni Macia

    Thank you very much Andrew, now is working like a charm.
    Closed.

  5. 11 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Awesome, thanks for taking care of the final work there. Glad you made progress.

    Chat soon.

    Cheers

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More