Click here to register or to donate.Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

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.

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

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

Dec 14, 2011, 09: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

Dec 14, 2011, 11:36 AM

lmilesw

10,174 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.