• Resolved Josh

    (@joshuammott)


    Hello,

    This is a very nice plugin and works extremely well. I have a fixed header (about 50 px) and I am banging my head against the desk trying to figure out how to offset the position of the footnote anchor links. Otherwise the text is hidden behind the header when following the link to the footnote or returning to the footnote reference. I use the following code to address anchor links in other parts of my site but when I target FD Footnote classes with this code it doesn’t work:

    h2 span {
      margin-top: -50px;        /* Size of fixed header */
      padding-bottom: 50px;
      display: block;
    }

    I am also going to try some of the solutions posted here:

    https://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header

    Any help is greatly appreciated.

    https://www.ads-software.com/plugins/fd-footnotes/

Viewing 1 replies (of 1 total)
  • Thread Starter Josh

    (@joshuammott)

    Figured it out:

    a[id^="fnref-"], li[id^="fn-"] {padding-top: 50px; margin-top: -50px;}

    Tested in Chrome, IE11, Firefox, Opera

Viewing 1 replies (of 1 total)
  • The topic ‘FD Footnotes Offset for Fixed Header’ is closed to new replies.