• Resolved chuanxu

    (@chuanxu)


    Hi,Robert.I asked for your help before,,I noticed that the header position changed when I scroll back to the top. Can I set it to go back to its original position?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chuanxu

    (@chuanxu)

    Thread Starter chuanxu

    (@chuanxu)

    Looks like a bug in the background, which isn’t there when you’re not logged in to view it.I’m sorry to interrupt.

    I had the same problem, and in typing my issue here as well, I think I figured out the solution.

    If you have a top bar, above your sticky header, and want the header to stay below the bar, you have to figure out the height of the top bar and set an absolute value from the top for the header. I am using a transparent header at the top, so this is my CSS:

    .she-header-transparent-yes {
        position: absolute;
        top: 47px;
    }

    So I am essentially giving the header an absolute position when the screen is at the top of the page (the header class changes to she-header when it is sticky so it doesnt impact it then).

    Hope that helps.

    And to the plugin author. Well done. Looking forward to the road map items and will be buying the premium version as long as I can use it on unlimited sites.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The header position changes when scroll to the top’ is closed to new replies.