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)
-   -   Making the menu bar full width (but header and content both smaller) (http://forum.bytesforall.com/showthread.php?t=21279)

mrsp31wannabe Dec 15, 2013 10:57 PM

Making the menu bar full width (but header and content both smaller)
 
Is there any way I can configure the menu bar to span the entire width of the browser, setting a specific height for it as well, but maintaining my header and content to be smaller?

I'm looking for something like this: (not Atahualpa theme) for the menu bar.

juggledad Dec 16, 2013 05:25 AM

In 3.7.13 you have the option of making the header full width. Do that then center the header images and menu.

mrsp31wannabe Dec 17, 2013 08:08 PM

Ah, yes I missed this new change. BUT when I make the header full width and center the menu bar, the grey background of the menu bar only goes as wide as the button items. I want the grey background bar to go full width as well. Can I do that? Also, can I change the height of it, so that it looks like a bar rather than a highlight under the categories?

juggledad Dec 18, 2013 03:33 AM

what is the URL?
go to ATO->Export/Import copy the export settings to a TEXT file and save it to an attachment in your reply (use the paper clip icon)

lmilesw Dec 18, 2013 09:53 AM

You could set the width to the imagecontainer (and other elements as desired and center with CSS (margin: 0 auto;)

mrsp31wannabe Dec 18, 2013 10:46 AM

1 Attachment(s)
url: http://teachingwhatisgood.com

Here's the text file. Now I switched it back to "normal" until I figure out what to do.

juggledad Dec 18, 2013 07:45 PM

The example site you show has the background across the page. On your site you have a background and then the contents area is a different style altogether, so I'm not sure what you are trying to end up with.

SharonJ Feb 16, 2014 05:43 PM

I do this all the time using an image that is 1 px wide and in this case about 329px high

Here is my css

body{
background-image: url("http://yoursite.com/background.jpg");
background-repeat:repeat-x;
background-position:top;
background-attachment:fixed;
}

The first skinny one multiplied many times will give the impression of a block of color

#1 makes it look as if the menu goes right across, but it is an image repeated many times.
http://jacksononthemoon.com/bytesforall/background.jpg
Code:

 
http://jacksononthemoon.com/bytesforall/background2.jpg

runnerb0y Feb 25, 2014 04:01 PM

SharonJ;

Good 'trick', I always forget about building a small (skinny 1px) graphic then have it repeat. Nice reminder. Thanks!

SharonJ Feb 25, 2014 06:19 PM

You are welcome!

juggledad Feb 25, 2014 07:00 PM

You can set the background color for a centered menu with CSS.

Say you set your header for full width AND use %page-center to set the background color of the menu to be full width just add to the CSS Inserts
HTML Code:

#bfa_page_menu {background-color: #rrggbb;}
where you replace rrggbb with the color you want.


All times are GMT -6. The time now is 09:13 AM.

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