current-menu-parent lavalamp

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26447
    palmtree
    Participant

    I’m wondering how to highlight header menu lavalamp for “current-menu-parent”. Currently it highlight only “current-menu-item”.
    For example, it highlights blog category name when it is in the header menu but when viewing single post page (of that blog category), blog category name in the header menu isn’t highlighted with the lavalamp. It goes back to “Home”.

    Thank you for your advise!

    #26455
    Veena
    Moderator

    Can you pls try the below custom CSS in themeoptions and see if it helps-

    li.menu-item.current-menu-item.page_item a {
        color: #000;
        border-bottom: 4px solid #dc4637;
    }
    
    #26486
    palmtree
    Participant

    Thanks Phoenix,
    That was in appdev theme’s main.js around line 90 where about it says $('#primary-menu > ul > li.current-menu-item').first().addClass('active'); I have copied one of them and pasted then changed class name to “current-menu-parent”. This could do what I wanted to do.

    #26492
    Veena
    Moderator

    Glad to know that you found the solution and thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘current-menu-parent lavalamp’ is closed to new replies.