1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Latest post anchor position

Discussion in 'Styling and Customization Questions' started by vexx, Mar 19, 2014.

  1. vexx

    vexx Active Member

    Hey guys,

    First of all, I'm sorry about the weird title, I'm not sure how to describe this small "problem". I've recently made my navbar sticky and while it's very good looking and functional, it has a small "bug". When you go to the latest post of any forum or to any other posts for that matter, since the bar is "position:fixed" it overlaps with the post text - you can't see the post you went to. Basically, my question is - is there any way in which I can move the position a bit higher?

    Here's how it is now, when you go to a post:


    Here's how I want it to be

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. szymme

    szymme Member

    and use

    <a href="pages/xxx/#anchor">anchorlink</a>

    then the position maybe a h2 tag:

    <h2 id="anchor">anchorposition</h2>

Share This Page