Anchor link and sticky menu
Hi,
I realized a website with one of your onepage templates; I have some anchor links in the page, but they bring to the wrong place in the page, without considering the sticky menu area: on the other hand, the menu with the same anchors works fine. I think that the this depends on jquery, but I was wondering if there is a method to use it in the anchor link without changing the js file...
Thank you!
Valeria
Comments
Hi,
The anchor links lead to the beginning of the section, so I suggest adding some top padding from them, so the sticky header will stop earlier.
Thanks
This is not what I need, obviously. It changes the page visual balance and then the menu anchor brings to the wrong place... could you please suggest something different and more appropriate? :) thank you, Valeria
Please, attach a link to your website, so I can take a closer look at it, but I am afraid that I will not be able to suggest anything else.
Best regards
Hi, thank you
www.clararizzinelli-naturopata.it
you can see the anchor link in "Trattamenti" section!
cheers, v.
So you want to stop the anchor link like that?:
Did you try to add the ID to this section?:
Best regards
...no, because I'm talking about the anchor links that are in Trattamenti section, in the boxes... if you click on them, you can see that they bring to the wrong places.
If you click on this anchor link
you go to the wrong place
the same voice in the menu
brings to the right place
hope I explained better the problem.
Thank you, cheers, v.
Please, add a class scroll to these links, and check if it is better then.
Thanks
oooh yes!! It did the trick!! 🤩
Thank you 🤗
v.