Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28429
    Brooks Ayola
    Guest

    I posted this as a comment on the YouTube video about this, but it doesn’t look like you monitor those…

    Basically, when I create anchor links to the section heading as shown, when you click a link, it takes that to the top of the browser window, so if you have a header on the page it completely covers much of the section you’re trying to read. In the olden days we would have placed a transparent pixel where we wanted the anchor, but I don’t know if there’s a simpler solution or not.

    #28441
    Jesse Owens
    Keymaster

    Hi Brooks-

    Sorry about that! I’m working on making sure YouTube comments get better monitoring.

    Check out this section of our guide on Anchor Links – Dealing With Sticky Headers.

    To summarize, I recommend using a plugin like Easy Smooth Scroll Links, which lets you specify a header offset value in pixels so that your Anchor links show up below your sticky header.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Anchor Links Show Behind Sticky Header’ is closed to new replies.