How to offset where page jumps to by height of header
-
Hello, I got the sticky header to work (although it is still doing that ugly thing where if you resize the page small, the header gets smaller and then stays small even when you resize the window bigger again).
But my question is how to offset where page jumps to by height of header.
I have links that go to certain sections of a page, but now with the sticky header when it jumps there, the viewer doesn’t see the first 30-50 pixels of content (the height of the header) because it is overlapping.
What would I have to do to get the header to be sitting just above the anchor that the link jumps to. I don’t know how to write code but I can copy CSS code if I was given an exact code.
Thank you for your assistance!
- You must be logged in to reply to this topic.