Page jumps not working

  • Author
    Posts
  • #793500

    I have put a mini “table of contents” at the top of some of my site’s pages to allow readers to jump to various sections of content on that page. I created anchors at each section header and created links to those anchors at the top of the page. The links work; however, when I click them, the page jump takes me one or two lines below each header so that I have to scroll up a little to see the beginning of that section. I want the link to take me directly to the section header. How do I fix this?

    Please see this page as an example: http://howjesusprayed.wordpress.com/chapter-1-finding-god/

    Thank you!

    The blog I need help with is howjesusprayed.wordpress.com.

    #793614

    timethief
    Member

    Are these instructions more helpful? Links to specific points on a page

    #793621

    That’s WP’s fault: the links take you to the right point, but the right point is hidden by the grey admin bar.

    #793627

    auxclass
    Member

    You could put a couple of hard line feeds in after the jump to push the text below the gray nav bar – the code below has been working for me – paste into the html header – the bad news is you have some extra blank spaces in the page for those not using your jumps.
    <br class="blank" />

    #793738

    Thanks everyone! Glad to know it’s not my fault. I will try the fix you suggested.

The topic ‘Page jumps not working’ is closed to new replies.