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] %cat-center VS %cats; No Background Color Using %cat-center (http://forum.bytesforall.com/showthread.php?t=15348)

GRF Sep 9, 2011 07:07 PM

[SOLVED] %cat-center VS %cats; No Background Color Using %cat-center
 
1 Attachment(s)
I'm using %cat-center in the Configure Header Area but there is no background color on the left and right of the menu, just white. When I change it to %cats the menu is on the left and the backround color show for the entire width.

How do I get the background color to show for the whole width of the catagory menu while using %cat-center?

See attached image to see what I mean.

lmilesw Sep 9, 2011 11:44 PM

You would use CSS for that. Just use the selector for the cat menu which is #menu2. Then add a background color. You will probably also want to add a border the same color as the background but you will need to add !important to that CSS. So the code would be something like
HTML Code:

#menu2 {
background: blue;
border: 1px solid blue !important;
}

Of course blue can be changed to any css color names or hex value you want.

GRF Sep 10, 2011 06:16 AM

OK. I changed these values but still doesn't work. Still shows while on left and right of the centered menu. Please Advise.

Configure Header Area:

%bar1 %image %cat-center

CSS Inserts:

#menu2 {
background: blue !important;
border: 1px solid blue !important;
}

juggledad Sep 10, 2011 06:22 AM

what version of Atahualpa and WP?
What is the url?

GRF Sep 10, 2011 06:25 AM

Atahualpa = 3.6.4 and WP = 3.1.4

Here is the URL: http://www.selfdefensegearco.com/personal-protection/

juggledad Sep 10, 2011 08:02 AM

try this
HTML Code:

#header {background-color: #a88a58;}

lmilesw Sep 10, 2011 08:10 AM

I just installed 3.6.4 and this issue appears to be a difference between 3.6.4 and 3.6.7. If you are not using any PHP code other than new widget area and you did not change the code in the center area of the theme options you could try a manual update to 3.6.7 and see how that works for you.

Again be sure and do the MANUAL update so you can switch back to 3.6.4 if things don't work like you want. The instructions are in Upgrading in the FAQ for Atahualpa.

GRF Sep 10, 2011 08:14 AM

#header {background-color: #a88a58;} WORKED.

Thanks Much!

Now if I could just get my custom CSS menu added to the sidebar. It's a Javascript file with document.write statments in it and custom CSS built using a product from OpenCube, a renown menu tool vendor.

Here the thread:

Using a Custom Menu From OpenCube that has it's Own CSS? - in the Sidebars & Widgets forum of Wordpress Themes - WP Forum at BFA.

This thread is located at: http://forum.bytesforall.com/showthr...0&goto=newpost


All times are GMT -6. The time now is 01:48 PM.

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