Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] Page Scroll to ID Offset not working right on GeneratePress

Home Forums Support Page Scroll to ID Offset not working right on GeneratePress

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #445131
    Dinesh

    I have been scratching my head with this one problem for quite a few days now : I set a 70 pixels offset to properly show the desired element with its title , but this offset is not applied when you click on the link of the element the first time, it is applied only after the sencond click. For example, when the page is loaded for the first time or reloaded the offset value does not apply but after that from the second click onwards it starts working.

    I am using the GeneratePress Theme. I believe this is something to do with the header height since I am using sticky header. Any idea how I could fix this?

    Do you have an idea of the reason?
    Thank you, would really appreciate any help.
    Regards
    D

    GP Premium 1.5.6
    #445307
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Hmm, I haven’t tried the plugin, but I can guess the javascript, and it should work on first click.

    Have you checked with the plugin developer yet? They might have an idea.

    Let em know 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.