Viewing 1 post (of 1 total)
  • Author
    Posts
  • #276959

    EDIT SOLVED
    Found the solution is to wrap the content block you want to scroll in with a div with an ID same as the named anchor then the smooth scrolling and allowance for header height works nicley

    eg <div id=”overview”> your content here </div>

    ————–
    Hi guys
    I’m trying to create a page template with different content sections that you can jump to using that left bullet menu (overview or catalogue etc) see demo here http://ordovas.jacl.co.uk/exhibition/chillida-on-miro/

    I have this working but one issue and two questions:

    1) I’m placing the named anchor just above the start of each section but this causes the jump point to go too far up behind the fixed header/nav

    2) Can I get these to use the smooth scrolling effect like you have when you click the arrow back to top icon

    3) Is it possible with this theme to have each content section hide/show when you go to the named anchor a bit like tabs but not sure how I could get tabs working when my left menu is not attached.

    Thank you
    Jonathan

    • This topic was modified 10 years, 6 months ago by wrongjon. Reason: solved
Viewing 1 post (of 1 total)
  • The topic ‘Named Anchor scrolling’ is closed to new replies.