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.