Support » Fixing WordPress » How do I make the sidebar background colour stretch to the bottom of the page?
6 years, 12 months ago
I’m using buddypress plug-in with the magazine theme, I want to make the sidebar background colour stretch the full length of the page, from the bottom of the navbar to the footer. I cannot figure out how to do this in the .css?
The .css currently says:
I have tried ‘repeat: y’ and ‘height: 100%’ but neither are any good.
Can anybody guide me? Also a 1px border might look good. Thanks!
My site is http://4.biz/
I have worked it out – for anybody wanting to know how to do it it is simple really, you make an image about 5px high of just the solid colour you want your sidebar to be, then save it in your ftp.
Then find the appropriate line of .css – I use Mozilla’s Firebug tool to do this.
Then enter the following line of code:
background: #fff url(enter the URL of the image you have just saved in here) repeat-y top right;
Just to note, the top right bit of code is if you want your sidebar on the right of the page. I am not sure but would guess if you wanted it on the left you would enter top left.
I am a novice – so I have tried to describe that as best I can for any other novices trying to make their sidebar colour stretch the full height of the page!!