Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Limiting menu background to menu items (http://forum.bytesforall.com/showthread.php?t=11669)

Farinet Dec 11, 2010 10:04 AM

[SOLVED] Limiting menu background to menu items
 
Hello,

When using the centered menus, %page-center and %cat-center, the menu background is limited to the menu items, and doesn't extend beyond them (I am not using the background image for infinite extension on the left and right of menus by the way).

I would like to get the same behaviour with a %cat-right menu. In other words I would like that the cat menu background color doesn't appear on the far left of the right-aligned menu if menu options don't fill the whole page width.

Is it possible? Any input appreciated.

lmilesw Dec 11, 2010 02:48 PM

Could you supply a link to your site. This is a CSS thing and we would be guessing without seeing the site. What it comes down to though is finding the proper selector and setting the background to transparent or a color to match the background.

Farinet Dec 11, 2010 04:52 PM

You can see it now at http://tcpc.ch/nouveau/
The idea would be to have the dark gray bar stop at "Manifestations" (going left), i.e. no gray background on the far left.

lmilesw Dec 11, 2010 08:26 PM

With your current setup the following seems to work.
HTML Code:

#rmenu-cat {
    background: #fff !important;
}


Farinet Dec 27, 2010 05:56 AM

Thank you.


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

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