By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial 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!
elementor official

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!
 
elementor official
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
 
elementor official

Latest posts

Other Elementor Resources

elementor official
elementor official
Top