Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1472386

    Hello Enfold Team,

    On a new site that I’m building, the anchor link scroll depth is off on mobile (it doesn’t scroll down far enough). I believe this is because I’m using a “sticky header” on mobile and need to adjust the scroll depth by a few pixels. Can you please take a look and point me in the right direction?

    https://bcgabq.com/company/#contact

    As always, thank you for your help.

    -James

    #1472430

    Hey James,

    Thank you for the inquiry.

    Please try to add this css code and let us know of the result.

    @media (max-width: 768px) {
        :target {
            scroll-margin-top: 200px;
        }
    }

    Make sure to toggle or temporarily disable the Enfold > Performance > File Compression settings and purge the cache after adding the modification.

    Best regards,
    Ismael

    #1472534

    Worked great. Thank you!

    Please close the ticket.

    -James

    #1472540

    Hi,

    Great, I’m glad that Ismael could help you out. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Anchor link scroll depth off on mobile (using sticky header)’ is closed to new replies.