Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1285861

    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

    #1286027

    Hey profumopuntoit,

    Please have a look at the following thread:

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1286484

    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

    #1287671

    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:
    anchor_name_is_a_deprecated_attribute.jpg
    after correcting this, please clear your browser cache and check.

    Best regards,
    Mike

    #1287722

    Dear Mike,
    perfect, thank you very much
    Mauro

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Anchors and non-shrinking headers’ is closed to new replies.