Support » Themes and Templates » Sidebar top: negative

  • I a theme that I have made for my website, Exploding Art, the sidebar ends up with a strange top: value.
    It seams that it has been reversed in some way. When I put -500px it goes towards the top of the site and when I put 500px it goes below the site. It seams that the pink line at the bottom is 0px. Not it’s on top: -175px

    How do I change that?
    Because I want the sidebar to start from the top and go down and stay at a fixed position from the top and not follow the site down as more and more content gets added.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure what tools you used to develop your theme, but the reason you’re seeing this behavior is that in the current code, the sidebar is a child element of the footer (the one with the pink line), so the position is set relative to that.

    You need the sidebar to be contained within the middle div rather than the footer.

    Thread Starter RobhJ

    (@robhj)

    Thank you very much! That worked fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar top: negative’ is closed to new replies.