Internal anchor lands below linked-to header–how to fix this?
-
Hi, and thanks for a great theme which has proven very flexible for my needs. Nearly finished! This is the site, if you need it.
I’m linking to headings in an FAQ from links at the top of the page, and from a text widget on the side. Somehow, when I click a link goes to just below the heading, so the heading can’t be seen.
So far I’ve tried \a name=”item”\, \a id=”item”\, I’ve included a non-breaking space in the anchor, which gives me an underlined space (and when I removed the underline with some css, the editor removed the space). A line break gets removed by the editor. A non-breaking space outside the brackets works a treat until the editor takes it out again. ??
The only method that seems to work at the moment is to have the underline space inside the named anchor, or to put the anchor in the previous item, neither of which is really satisfactory.
What am I missing? I’m not a programmer, so it could be anything! Thanks for any help!
- The topic ‘Internal anchor lands below linked-to header–how to fix this?’ is closed to new replies.