Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] No Menu 2 background using WP menus, WP v3.3, Ata 3.7.3


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Dec 13, 2011, 06:59 PM
lehacarpenter
 
33 posts · Oct 2009
Hi, I've run out of ideas on this issue, and none of the fixes I saw in other posts seemed to apply. Hopefully it's some easy thing I overlooked. Thanks in advance for any help.

I have the category menu under bar2, which is under the banner, which is under bar 1, which is under the page menu. I have WP menus turned on, and have mapped %page-right (Menu 1) to a menu I called Menu One, and have mapped %cat-center (Menu 2) to a menu I called Menu Two.

The problem is the the second, %cat-center menu, which I've tried to give a background color to, and when the color failed to extend past the menu items, I tried making it a background image filled with that color. I put the image in my Ata images folder and have tried various means of getting the background to work, including adding the following line to both the Ata CSS/HTML inserts (there are no other menu items defined there, so no cascade issues I can detect), and also adding the same line to css.php, in the div#menu2 style. I've tried this with and without defining the color, as well.

I should note that this solution worked prior to turning on WP menus.

Again, any help greatly appreciated...

The line:

Quote:
div#menu2 {
background: url(http://forestnatives.com/wp-content/...es/menu2bg.jpg no-repeat);
}
  #2  
Old Dec 14, 2011, 01:11 AM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
One issue could be you code. The no-repeat should be outside the parenthesis and I always use quotes on paths. Also when look at the code with firebug I see bfa_cat_menu for the CSS selector. Example below
HTML Code:
bfa_cat_menu {
background: url("http://forestnatives.com/wp-content/themes/atahualpa/images/menu2bg.jpg") no-repeat;
}
You don't even have to use an image for the background. It looks like the code below will work fine.
HTML Code:
#bfa_cat_menu {
    background: #292723;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Dec 14, 2011, 08:54 AM
lehacarpenter
 
33 posts · Oct 2009
Thank you! The selector was definitely the problem, and not the misplaced code. It was late when I typed that up last night, and I forgot and put the no-repeat "back" in the wrong place (I'd taken it out of the code entirely at one point). I knew just the color should work, but was adding the background as a last-ditch attempt to fix the problem when the color didn't work.

Is firebug something that works with Firefox? I've never used debugging software except back in school...
  #4  
Old Dec 14, 2011, 10:36 AM
lmilesw's Avatar
lmilesw
 
10,099 posts · Jul 2009
Central New York State USA
Yes Firebug works with Firefox but there are development tools for many browsers.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Background menu image not extending into child (drop down) menus tim55057 Page & Category Menu Bars 1 Nov 29, 2011 05:35 PM
Whote showing up in background of colored menus benjamin_preisner Page & Category Menu Bars 1 Nov 29, 2010 02:40 PM
[SOLVED] The background of sub-menus does not cover the full sub-menu field Manu-PierreB Page & Category Menu Bars 2 Nov 28, 2010 05:12 AM
Noob having issues with height of background behind menus stevechapi Page & Category Menu Bars 6 Nov 22, 2010 07:03 AM
WordPress Menus - How to Change the Background Color of the Current Page/Category gomeetpete Page & Category Menu Bars 1 Nov 1, 2010 06:59 PM


All times are GMT -6. The time now is 05:55 AM.


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