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] Stretch the menu items to the full width of the page (http://forum.bytesforall.com/showthread.php?t=13379)

freelancekonsulenten Mar 19, 2011 07:17 AM

[SOLVED] Stretch the menu items to the full width of the page
 
I want to have my menu items centered to the hole page, so the first menu item will follow the left margin and the last menu item will follow the right margin.

You can see the page here: www.outreach.dk

I am using Wp 3.1 and Atahualpa 3.5.3

Thank you.

freelancekonsulenten Mar 20, 2011 04:15 PM

Thank you.
That helped we some of the way. But now I am having problems with the hovering of the menu items.

The right url is www.outreach09.dk (sorry!!!)

Hope you can fix this too :-)

lmilesw Mar 21, 2011 08:53 AM

I would prefer something like the following in ATO>Add HTML/CSS Inserts>CSS Inserts
HTML Code:

#rmenu2 a {
    padding: 5px 25px !important;
}
#rmenu2 {
    width: 970px;
    margin-right: auto;
    margin-left: auto;
}

This means if you change the wording in a tab you will have to change the CSS but each menu item is only as long as it has to be.

If you use the original idea you will have to add padding and/or margins to help the display.

freelancekonsulenten Mar 21, 2011 02:41 PM

Thank you so much!!
It works perfectly :-)


All times are GMT -6. The time now is 09:25 PM.

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