Hello,
we have set in “Header layout” Enfold options, in “Header Custom Height”, that the header has a certain fixed height (108px)
and in “Header behavior” we have unflagged “Shrinking Header”
Now, if we add anchors link to somewhere in the page, the browser goes to the link indicated, but the correct position should be probably 108px below.
There is something that can be done?
Please see video in private content
Thank you
Mauro
Hey profumopuntoit,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
Victoria
Hello,
I have added the snippet of code in functions.php, but I don’t see any change, neither in desktop nor in mobile view
Please see a reference page in private content
Mauro
Hi,
Thank you for the link to your page, I see that you are using the “name” tag for your anchor link like this:
<a name="drinks"></a>
please try changing this to use the “ID” tag like this.
<a id="drinks"></a>
the reason for this is the theme script that sets the offset looks for IDs in the anchor, as “name” is an deprecated attribute:
after correcting this, please clear your browser cache and check.
Best regards,
Mike
Dear Mike,
perfect, thank you very much
Mauro