Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Center menu problem (http://forum.bytesforall.com/showthread.php?t=18436)

Björn Palovaara Sep 21, 2012 03:41 AM

[SOLVED] Center menu problem
 
Hi.

I have Atahualpa 3.7.9, WP 3.4.2

I want menu bar centered, I have used the code %page-center in configure header area as described.
Menu is centered. But then... I want fill out space to width and height for menu - and I found this code:

#rmenu2 a {
padding: 25px 15px !important;
}
#rmenu2 {
width: 998px;
}

inserted it in: css inserts

Buttons change widht and height just as I want to - but menu will then not be centered - it is aligned to left???

Thanks! Björn

juggledad Sep 21, 2012 06:02 AM

what is the url?

Björn Palovaara Sep 24, 2012 03:03 AM

Hi Juggledad

We have "under construction" page, but I have deactivated it now - the url is: http://www.xn--tandlkareaste-ffb.se/

Thanks
Björn

juggledad Sep 24, 2012 05:26 AM

the code
HTML Code:

#rmenu2 {
width: 998px;
}

tells the browser that the menu is that wide, so it centers it. You need to adjust the padding to match the size you set.

This is where using FIreBig in FireFox can be a great help. you can play with the vaues and see the results 'on the fly' and figure out what values you need.

Björn Palovaara Sep 25, 2012 06:27 AM

Thanks. Had to do some addition and subtraction, but finally I got it right! Thanks a lot.


All times are GMT -6. The time now is 02:57 AM.

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