• Oh my Website the Smooth Scroll Offset does not work anymore. I am sure, that it worked in the past, but now the headline, to which I scroll, is under the menu.

    Is there a script, that is responsible for this to work? I deactivated all Caching Plugins, but it did not use the offset for the smooth scroll.

    Do you have any idea, why it is not working?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Steven

    (@shazahm1hotmailcom)

    @madd1974

    I visited a few pages and the smooth scroll offset seems to be working.

    I do see an issue, not related to ezTOC though.

    Open the page in Chrome and hit the F12 key and then click the Console tab.

    You will see errors about jQuery not being defined. You’ll need to resolve this error as it will prevent other scripts on the page from running. The first step in debugging would be to disable the Autoptimize plugin.

    Hope this helps!

    pro-tip; you can disable Autoptimize on a per-request basis by adding ?ao_noptimize=1 to the URL.

    but based on the HTML source the issue is rather with the fact that something is changing the place of jquery in the HTML, loading it in the footer instead of in the <head> section of the HTML.

    hope this helps debugging,
    frank (ao dev)

    Steven

    (@shazahm1hotmailcom)

    @optimizingmatters

    Thanks Frank for the tip. Just for the record, I was not implying that Autoptimize was the cause, just the first step in debugging. It can help a lot to determine the source of JS errors. Which exact file and line numbers always helps me ??

    no worries Steven, enjoy the ?ao_noptimize=1 trick ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Smooth Scroll Offset not working’ is closed to new replies.