[Resolved] anchor link doesn't function

Home Forums Support [Resolved] anchor link doesn't function

Home Forums Support anchor link doesn't function

Viewing 8 posts - 31 through 38 (of 38 total)
  • Author
    Posts
  • #462801
    mike

    I have made a video.

    https://ufile.io/ao3ga

    #462828
    Tom
    Lead Developer
    Lead Developer

    This is a tough one, sorry that we’re not coming up with a solution right away.

    It looks like the smooth scroll is coming from Elementor – do you know if it’s possible to turn it off?

    #463214
    mike

    1. Thank you very much for your time and effort.

    2. I’ve finally found the problem

    The css id’s (same id) was set to 2 areas – 1 for mobile and 1 for desktop.
    When i tested and removed the area with the desktop css id it suddenly started working on mobile.
    Is this a bug? because it did work before…

    Then i tried setting a different id to each area – and linking it with 2 id’s on each link separated by a comma – didn’t work as well.
    Eventually i’ve added a divider above both areas (which is shown on both desktop and mobile) and set the id to that.

    Now only one issue is left – when i click an anchor link, the hover/current color (white) stays on the menu item instead of going back to normal color (green) – how do i fix this?

    Thank you!!!

    #463531
    Tom
    Lead Developer
    Lead Developer

    Ahh, glad you found a solution!

    As for the white menu item, I just adjusted the CSS here: https://generatepress.com/forums/topic/anchor-link-doesnt-function/#post-457536

    Let me know if it works or not ๐Ÿ™‚

    #463583
    mike

    Hi,

    The menu item is not white anymore after clicking – but if i hover over it after clicking it it’s not being highlighted in white as other menu items. it just stays green

    Alex

    #463949
    Tom
    Lead Developer
    Lead Developer
    #464065
    mike

    Super.

    Thanks a lot!

    #464224
    Tom
    Lead Developer
    Lead Developer

    No problem ๐Ÿ™‚

Viewing 8 posts - 31 through 38 (of 38 total)
  • You must be logged in to reply to this topic.