-
AuthorPosts
-
April 27, 2020 at 1:54 pm #1207509
My main menue consists of links to anchors on the main page as-well as other pages.
There is no entry for the homepage itself as this is done by clicking on the logo.So for example:
About us (linking to /#about_us)
Contact (linking to /#contact)
Blog (linking to page blog)When you now open the homepage of the site, the first section link (About Us) is shown as active although the site is opened without anchor.
Is there any way to prevent this from happening?April 28, 2020 at 6:02 pm #1207890Hey computhomas,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaApril 28, 2020 at 6:06 pm #1207893Hi Victoria,
ok, will do.
Thanks!
May 2, 2020 at 12:02 am #1209010Hi,
Sorry for the late reply, this is because the anchor for “Vision” is on the page and no higher anchor exits. To get around this please add another menu item for/#topand then we can hide it with css.Best regards,
MikeMay 4, 2020 at 12:28 pm #1209506Thank you, this worked.
Although I had to hide three things:
- The id of the new Top-Link to remove it from the desktop view.
- The class name of the new Top-Link to remove it from the mobile menu/burger menu.
(Maybe this can be consolidated in a future version?) - The Span avia-menu-fx insinde the A inside the menu item to hide the blue bar unde the hidden link.
May 4, 2020 at 1:15 pm #1209524Hi,
Very good, I see it is working now, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeMay 4, 2020 at 1:17 pm #1209525Yes, thanks!
May 4, 2020 at 1:30 pm #1209528Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Anchor link in menu showing as active’ is closed to new replies.
