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.
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
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
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
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
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
Thanks vinay,
somehow i was convinced i needed to overwrite a:link, who would have thought that.
Thx
Hi buero-36 ,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria
please close the topic, thx