Smooth Scroll Offset

Hi,

I use the plugin Easy TOC. When you click on a link in TOC, it jumps to the desired headline, but unfortunately you can’t see the headline.

For example:
Die Sehenswürdigkeiten der Stadt Trier (Deutschland)

Please click ob the TOC “Der Hauptmarkt in Trier”.

The author wrote me: “It seems the theme is re adjusting the position after the scroll to accommodate its top menu. Sorry, but in this case, there is nothing I can do.”

The top menu is coming from X. So is there anything I can udjust via CSS in X to remove that re adjusting?

Michael

Hi There,

Thanks for writing in!
Please add padding top to the headings instead of margin.
Or you can use this custom CSS in your theme option -> CSS to add specing above the heading.

h3.h-custom-headline.h7 {
padding-top: 60px !important;
margin-top: 0px !important;
}

Hope this helps!

Thank you. I changed the CSS from the ez-toc-section.

You are most welcome.
If you need anything else we can help you with, don’t hesitate to open another thread.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.