Anchor tags not working & any way to not highlight items in menu

HI

I have 2 related questions about anchors,

I added them to my navigation menu and I can’t seem to get them to work. They aren’t working,

And secondly is there any way to avoid the anchors all highlighting in the submenu dropdown when on that page?

Hi,

To remove highlight in your submenu, you can add this in Theme Options > CSS

.x-navbar .desktop .sub-menu li.current-menu-item > a {
    color:#444444 !important;
}

Then to fix anchor tags, you need to add the id to your section.

In your menu you are linking to http://bestmile.wpengine.com/about/#team but there are no sections with that id.

Thanks, see where to add this on clasic elements, where do you add on the new one, I have X non-pro.
I’m doing the same on another site and also not working and i added anchors as raw and as text and it didn’t work.

Hi there,

To add an ID to a section, you will have to select the section then click on the customize option.

]

Hope this helps.

Thanks very much I updated the anchors and they are working I added the code to the http://i11.de8.myftpupload.com/ site and I’m still seeing the all submenu highlight on the team-biographies page any additional thoughts?
,

Hi,

Upon checking, I can see there are syntax errors in your css code that prevents all code from working.

Please change ALL your comments from <!–- ––> to /* */

eg.

Change <!–-team box fix ––> to this /* team box fix */

Thanks

sorry opps, too tired. all ok now
thanks

Glad that you have managed to fix this.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.