Nav Menu – Active Item – Change Color
-
Hi,
# Context
I’m using Hestia & Elementor (non PRO version), I’ve also created a child theme where I’m working on.
I have a single page website.
I have a nav bar menu with 6 items, representing the 6 “sections” of my page.
Actually, the 6 sections are only 3 sections that already come by default with your theme (features, about, contact). The other 3 “sections” were actually created using Elementor editor in the about section and I constructed half of my page using about section (so we have about section with + 3 “sections”). For each of those 3 sections i added some text elements with anchor HTML tag (https://ibb.co/cJZvf0B) so i can reference to them in my menu.Page Menu
– Section 1 (features)
– Section 2 (about)
– Section 3 – Custom (boda, inside of about)
– Section 4 – Custom (novios, inside of about)
– Section 5 – Custom (info, inside of about)
– Section 6 (contact)# Issues
I’m facing two issues:# Issue 1 – Selected text color in menu appears duplicated. If i click on “boda”, i have both “about” and “boda” with selected text selected. Screenshot:
Example 1 – https://ibb.co/Zd2YZk4
Example 2 – https://ibb.co/JBc8JR8# Issue 2 – Scrolling down the page does not change selected text color of menu items related to my custom section (exception: only works on your default sections like features, about). If i’m in mine custom sections the selected text color that is highlighted is “about”.
What do i have to do or change to keep my custom anchors in the menu and page, but keep the same correct menu behaviour of selected text color?
Example of my menu configuration:
https://ibb.co/Z15DNhXNOTE: I have my website running localhost so can’t share URL of it.
Thanks.
- The topic ‘Nav Menu – Active Item – Change Color’ is closed to new replies.