Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Extend menu background across entire page (http://forum.bytesforall.com/showthread.php?t=19954)

prooffairy Mar 21, 2013 06:22 AM

[SOLVED] Extend menu background across entire page
 
I need to set up a website that looks a bit like this one: http://www.hubspot.com/products/

Is there a way I can keep the menu options in the container area but extend the background colour across the entire screen (whatever resolution it's viewed at)?

I did think perhaps I could create a background with a grey strip at the top and white below but I can't work out how to stop it from repeating.

Any help much appreciated!

The site is at http://www.aliwp.co.uk/

lmilesw Mar 21, 2013 06:33 AM

For the repeating just use the proper CSS repeat property. You can find that info on many places such as w3schools.com

prooffairy Mar 21, 2013 06:41 AM

I dont really want it to repeat though - I want the grey bar along the top of the page and then white the rest of the screen (however far you scroll). So how do I do that?

lmilesw Mar 21, 2013 07:38 AM

It needs to repeat horizontally but not vertically so you would use repeat-x in the background code.

prooffairy Mar 22, 2013 05:54 AM

Thanks - that fixed it!


All times are GMT -6. The time now is 04:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.