ahmedkaludi / easy-table-of-contents

WordPress plugin which adds a user friendly and fully automatic way to create and display a table of contents from the page content.
http://connections-pro.com
67 stars 46 forks source link

Smooth Scroll Offset value Only working on clicking the toc item twice. #799

Closed sewa-tech closed 2 weeks ago

sewa-tech commented 3 weeks ago

I have already enabled the smooth scroll option and set the value of smooth scroll offset 140 pixel but it is only working when a double click the table of content link for reference. I am adding my website url below:

https://computerexpertadelaide.com.au/uncategory/why-is-your-computer-slow-top-causes-and-quick-fixes/

Sanjeevsetu commented 3 weeks ago

Hi @sewa-tech

Thanks for contacting us.

I checked the given url and found that it was working on one click. Could you re check it with clearing cache if any.

sewa-tech commented 2 weeks ago

Hello @Sanjeevsetu,

it's working on one click but as you can see i have a sticky header so the anchored content when clicked, is getting behind the header menu so to solve that i have given Scroll Offset value more than my header height but it's not using that and it still getting behind the header.

Thanks for responding!!

sewa-tech commented 2 weeks ago

after enabling the jump link works without adding ids in the URL, my issue was solve :)