Site logo

[Resolved] HTML footnotes > back to text not working anymore > any idea?

Home Forums Support [Resolved] HTML footnotes > back to text not working anymore > any idea?

Home Forums Support HTML footnotes > back to text not working anymore > any idea?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2161958
    Christian

    Dear Support Team,

    my HTML (without a plugin) footnotes do not bring me back to the textnote anymore. I used a HTML like:

    For the Textnote

    <sup><a id="ref1" class="textnote" title="BELIEBIGER TEXT ALS TOOLTIP" href="#fn1">[1]</a></sup>

    For the Footnote

    <sup id="fn1" class="footnote">[1] <a href="URL" target="_blank" rel="noopener">TEXT-FUßNOTE</a> |<a title="Zurück zum Text." href="#ref1"> ↑</a></sup>

    For a year or so it worked flawlessly. In the last weeks the footnote-back-link (↑) does not bring me back to the text. It is like rejected.

    A sample page would be: https://kanzeon.de/das-leiden-des-siddharta/
    with a lot of textnotes/footnotes.

    I disabled pretty much all plugins, also the smooth-scroll functionality of GGP: no change.

    So my question is: Did you change anything in GGP that might explain the behavior – or do you have any idea what is going on?

    Thank you for any input,
    Best,
    Chris

    #2161984
    David
    Staff
    Customer Support

    Hi there,

    looks like you’re using the Scroll to ID plugin – do the links work correctly if you disable that ?

    #2162016
    Christian

    Hi David,

    thank you for your fast reply.
    The Scroll to ID plugin in fact is deactivated.
    All caches are cleared.
    I don’t know, why it is visible to you.

    I just again cleared all caches.
    Hope you have a better view now…

    Thank you for any help,
    Chris

    #2162024
    David
    Staff
    Customer Support

    Those links are now working for me. Can you clear the browser caches and test ?

    #2162030
    Christian

    Ok – I am completely puzzeled right now.
    Having cleared all caches several times today.
    NOW the jumping is working.

    The Scroll to ID plugin has been a workaround for 1. Jump to ID :-)) and 2. to add an offset regarding my sticky navigation.

    In this regard two follow up questions:

    Is there a workaround meanwhile for GGP to add smooth-scroll to any link target (jumplinks)?
    Is there a workaround for adding a top-offset without running into the “Scroll to ID” problems?

    Sorry for the confusion with the disabled Scroll to ID plugin.

    Best,
    Chris

    #2162037
    David
    Staff
    Customer Support

    Caches are the bane of our lives 🙂

    So the GP smooth scroll will offset for the Sticky Navigation.
    And to save having to add the CSS Class to every link you can wildcard it for all <a> elements using the PHP snippet provided here:

    https://docs.generatepress.com/article/generate_smooth_scroll_elements/

    #2162055
    Christian

    YES Caches are suc…

    I will dive into the PHP snippet – and for now I think this ticket is resolved.

    WOW – so so fast.
    Thank you David.

    Best,
    Chris

    #2162065
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.