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

Reply To: Offset anchors with fixed header

Home Forums Support Offset anchors with fixed header Reply To: Offset anchors with fixed header

#190493
xyz

sorry Tom, still not entirely sure where to put everything. I understand that were trying to tell it that it needs to jump to the anchor and then adjust it’s position relative to the anchor.

Here’s what I have so far.

At the top of the page:
<span style=”font-size: 11pt;”>Economics and economists</span>

waaaaaay down the bottom of the page, the position I want to jump to:
“<h2> Economics and economists</h2>”

If you could let me know *exactly* how to change the CSS, as I’m just dipping my big toe in all this, I’d be grateful. I’m happy to tweak the pixel offset distance, I just need to get it to work first.