Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Anchor Links with a fixed position nav and the content is overflow: scroll

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #208595
    jonimius
    Participant

    So I’ve got a tricky situation here. I want to have a FAQ section in a page that has a set height and scrolls. Within the FAQ section there will be anchor links that represent the alphabet. Additionally, the page itself has a fixed position nav.

    The issue is clicking on the anchor links moves the window up so that the anchor links are at the very top of the page and therefor obscured by the fixed position nav.

    What I want to do is have the page scroll as normal and when you click on one of the anchor links it scrolls the FAQ content but doesn’t move the surrounding content. Here’s an example of my issue:

    http://codepen.io/PhilippeGauthier/pen/rOMzrp

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.