CSS Sidebar Problems
-
I tried so many things, and four hours trying to get this to work and can’t seem to get it done: I can’t get my sidebar to move up on the page.
Can anyone point out to me what I have wrong in the css or index.php file?
-
You have a few validation errors – including a missing
</div>. But the main problem is your #featured div. I think it needs to be moved into #headline div with the float and width removed.If you open your style.css file in your active theme folder for editing and look around line 287 for #featured and change it to:
#featured { background:#FFFFFF none repeat scroll 0 0; padding:10px 10px 9px; }The “Featured Art” will move above your sidebar and the sidebar itself will “move up”. This may not be the most correct solution but it will give you a point to from.
PS: I take much too long to compose these replies … @esmi has the right idea, too
Sorry. Posted to wrong topic.
Thanks! You were both right. I thought I had checked for missing </div> tags, but in all my trying to fix it I must have missed putting on back in. It must be in the footer perhaps because when I put it back in everything moves back down.
But now that brings up another question…
My goal was to move the featured to the left under the headline section. It now floats again to the right. If I keep the left float in the featured it pushes the side bar down. Without it the sidebar moves to the right.
Just when I thought I was comfortable working with CSS it throws me.
I think it needs to be moved into the #headline div with the float and width removed.
The topic ‘CSS Sidebar Problems’ is closed to new replies.