Replies: 0
I’ve added JS to my footer after reading posts on here, and that works perfectly (scrolls a CPT down to a CSS # with an additional offset of 55px).
However, that is quite annoying when the user refreshes the page because Chrome usually returns to the same view, but with the jQuery in place, it moves away from that.
Is there a way to only execute the jQuery if the page is right at the top?