• Resolved riconline

    (@riconline)


    Hi Marc, I used simpleTOC recently and it worked perfectly. I just copied the wp page to another site, reinstalled plugin and it works but when you click TOC item it shows the result lower then heading and in some examples it drops a few lines below. Appreciate your guidance. Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marc Toensing

    (@marcdk)

    This happens because of the way the top navigation is implemented in you theme. Fix that and all bookmarks will jump to the right position. This is not a problem with SimpleTOC since it only uses a browser feature and does not rely on javascript.

    Thread Starter riconline

    (@riconline)

    Thanks Marc. I assumed it had something to do with layout and theme. Could you guide me on what specifically I need to change or where as I am a WP user not a coder. Thanks

    Plugin Author Marc Toensing

    (@marcdk)

    Sorry, I can’t help you with this. I would switch to the Standard WordPress Themes since they work great.

    Thread Starter riconline

    (@riconline)

    Solution / workaround.

    Changing themes to suit a TOC is impractical and for anyone wanting a workaround I have found a solutiion as follows…

    e.g. Where background is white, then
    1. change each header font colour to white (thus the header will disappear but still be there (white font on white background means the header is not visible but it is still there.
    2. add a paragraph block 1 line down from the header used for each TOC
    3. type the header and change the font size or bold to suit your style and make the font colour black (or other colour to suit your theme)

    Now when clicking the TOC item it will jump to the white (unseen) header which is above but because you have added another line below that is visible the user will see what they think is the header.

    Standard wordpress themes will work without this this workaround but standard themes may not suit your style (there are tens of millions of WP sites are not using standard themes and if some need a workaround for the TOC displaying above or below where it should then this tip may help)

    I had testing 3-4 TOC plugins and some work and present differently and well. Good plugins and very useful.

    Thanks

    Thread Starter riconline

    (@riconline)

    .

    Plugin Author Marc Toensing

    (@marcdk)

    SimpleTOC works fine. It uses standard browser feature and not JavaScript. In this case it is a big in the theme. The header is floating and because of that the browser is unable to calculate the correct position to jump to. This bug in the theme could be fixed by the author of the theme. Work arounds like the one you described will only lead to other problems.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bookmark result is below header’ is closed to new replies.