• Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!

Highlighting active parent menu

D

DAzaan

New Member
First time making my own site. Just using Elementor. Everything works perfectly, yet I just can't for the life of me get the active child’s parent in the menu to highlight when active.

Have tried to find and alter the css in elementor as well as wp_nav_menu to no avail.
Any tips? The menu is completely made with elementor, within a normal section.

Any help is immensely appreciated!
 
JugDarko

JugDarko

New Member
I achieve this with custom CSS in Nav Menu element:

selector .elementor-nav-menu .current-menu-ancestor > a {color:#ccd606;}
selector .elementor-nav-menu .current-post-parent > a {color:#ccd606;}

Darko
 

Latest Resources

Other Elementor Resources

elementor official

Still stuck? Ask the forum

Post your question with a screenshot and a link if you can, and a member will usually reply within a day. Free to join, no sales pitch.

Create a free account
Top