PDA

View Full Version : Any WordPress experts?



bobbyanderson
July 17th, 2007, 06:05 AM
Hi everyone, I'm having a few problems finalising my theme for my blog http://www.bobbyanderson.co.uk

As you can see the sidebar does not go all the way to bottom to meet the footer as well as the calendar being aligned to the left, how can I go about fixing this? Is this something I need to add to my style.css or in the code for the sidebar?

Thanks

noTime
July 17th, 2007, 07:05 AM
It has nothing to do with WP. It's just markup. I will try to explain in pseudocode.

This is wrong:

<div id="content" style="background: url(bkg-for-one-div.jpg)"></div>
<div id="sidebar" style="background: url(bkg-for-one-div.jpg)"></div>

This is correct:

<div id="newdiv" style="background: url(bkg-for-both-divs.jpg)">
<div id="content" style="background: none"></div>
<div id="sidebar" style="background: none"></div>
</div>

bobbyanderson
July 17th, 2007, 07:24 AM
Ok, so basically what you are saying is that I need to have a single background image for the whole page instead of having two separate ones for the body and sidebar?

Wouldn't the problem with this be that the stretch pixel effect would run right down to the bottom of the page past the footer? Is there no way to make the sidebar background image run down to the footer and stop?

obey360
July 17th, 2007, 10:00 AM
Is there no way to make the sidebar background image run down to the footer and stop?

No. You can not force the sidebar to go all the way down. You'll have to use noTime's suggestion, essentially making a single background image for a Container Div, then floating the left and right columns. It doesn't seem like it will be too much of a hassle with the design you have.

bobbyanderson
July 17th, 2007, 04:12 PM
No. You can not force the sidebar to go all the way down. You'll have to use noTime's suggestion, essentially making a single background image for a Container Div, then floating the left and right columns. It doesn't seem like it will be too much of a hassle with the design you have.

Nope it should be fine, I'll have a play around with that on my lunch break tomorrow

Thanks for the help guys