Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Center menu problem


  #1  
Old Sep 21, 2012, 04:41 AM
Björn Palovaara's Avatar
Björn Palovaara
 
12 posts · Apr 2010
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
  #2  
Old Sep 21, 2012, 07:02 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 24, 2012, 04:03 AM
Björn Palovaara's Avatar
Björn Palovaara
 
12 posts · Apr 2010
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
  #4  
Old Sep 24, 2012, 06:26 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 25, 2012, 07:27 AM
Björn Palovaara's Avatar
Björn Palovaara
 
12 posts · Apr 2010
Thanks. Had to do some addition and subtraction, but finally I got it right! Thanks a lot.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Menu bar Center problem CodaMan Atahualpa 3 Wordpress theme 3 Sep 7, 2012 07:09 PM
[SOLVED] Using new Wordpress menu - page-center problem marced Header configuration & styling 6 Jan 9, 2011 05:13 AM
Problem with the center menu bar Bernhard Header configuration & styling 1 Jun 4, 2010 06:34 AM


All times are GMT -6. The time now is 12:27 PM.


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