Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1005045

    Hi, I inserted a menu in a code block to put it in the content.
    Somehow i cannot get the current-menu-item state to work.
    It only works if remove the primary color in the theme settings in main content.
    Thx for your help.

    #1005173

    Hey buero-36,

    You are puting it inside the content and not at the header right?
    That is because the menu item gets overwritter from the color of the link state.

    Best regards,
    Basilis

    #1005303

    Hallo Basilis,
    thanks for stating the obvious :)
    Can you give me a hint on how to overwrite it again, i tried for hours now but i was too stupid to get it right (I removed all my tries btw.).
    Thanks, Max

    #1005402

    Hi,

    Thank you for writing to us. I checked your site and the current menu item highlights correctly. Did you figure this out?

    If you need further help please elaborate what exactly you need help with.

    Best regards,
    Vinay

    #1005415

    Hi Vinay,

    thanks i knew that in the main menu it works – but i put a menu in the Main content ( Trend Collection – Academy Collection – Make-up ) as you can see in the linked page above and there i don’t get the curreng_page_item state to work because it gets overwritten somehow, but i can’t figure out how i get it to work there.
    Best regards, Max

    #1005451

    Hi,

    Thank you for the clarification :) Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    /* CSS - Fullwidth menu highlight */
    
    #menu-trends .current-menu-item a{
    	color:red!important;
    }
    
    
    

    Best regards,
    Vinay

    #1005475

    Thanks vinay,
    somehow i was convinced i needed to overwrite a:link, who would have thought that.
    Thx

    #1005498

    Hi buero-36 ,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1007859

    please close the topic, thx

    #1008187

    Hi,

    Thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Menu in Content – current-menu-item does not respond to anything’ is closed to new replies.