current-menu-parent lavalamp

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by Veena Veena 2 years, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26447
    Palmtree
    palmtree
    Participant
    Post count: 118

    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
    Veena
    Moderator
    Post count: 8167

    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
    palmtree
    Participant
    Post count: 118

    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
    Veena
    Moderator
    Post count: 8167

    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.