• Resolved andreilucian13

    (@andreilucian13)


    Hello guys,

    I want to add a small offset when you click on an footnote because i have a fixed header and the link is under it. Does it have a option for the offset ? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jason Yingling

    (@yingling017)

    You can adjust the offset through CSS with this code:

    .easy-footnote-margin-adjust {
    	position: absolute;
    	margin-top: -40px;
    }

    Just replace the margin-top with the number you need. This is currently being used by the plugin when the admin-bar is displaying.

    Thread Starter andreilucian13

    (@andreilucian13)

    Hi Jason,

    Thanks for your reply, actually i need to change the offset for the scroll top functionality not for the position of the footnote. When i click on the footnote from the text it scrolls to the position of the same note from the bottom of the page, here I would like to add an offset because the position of that link is right under my navigation which is using position fixed.

    Does the plugin have a a script for the smooth scroll or it’s using the default behavior ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘offset for scrollTop’ is closed to new replies.