- This topic has 7 replies, 2 voices, and was last updated 5 years, 9 months ago by .
Using #ID loads behind header
You must be logged in to reply to this topic.
I’d like to use ID selectors on content blocks, so I can jump directly to that content on an interior page. The problem is, the subtitle element I’m using the ID on loads behind the sticky header. If I turn sticky header off, the subtitle is then visible when the page loads. But I really like the sticky header and don’t want to turn it off. Is there any way you could suggest to make the positioning of the ID load below the sticky menu instead of behind it?
Yes I see what you mean.
The theme is coded to use a 66px offset when scrolling down to an anchor.
This is to take into consideration the section padding.
Otherwise the titles are hidden when you click to an anchor.
So you can fix this by adding a 66px top padding to your title.
Hmm, I did try adding padding to the title, but it kept loading exactly the same. I’ll go through it again. Thanks
Make sure you add the padding to the same div which has the ID (features-security).
I tested it with Firebug and it seems to work.
You must be logged in to reply to this topic.