Wordpress Themes - WP Forum at BFA
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.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Page Menu Bar Padding

Old Jan 28, 2009, 05:21 AM
67 posts · Jan 2009
Hello again, Flynn. I am working on recreating my menu bar from an old html design. The new page menu bar seems to have more padding around the links than the remainder of the bar, so that the section with the links is thicker and taller than the rest of the bar. I would like them to be of equal height and match seamlessly. I have combed through the stylesheets but can't find out how to do this.

Here is the site:

Ideally I would like the black menu bar to appear "under" the yellow bg at the top and blue line at the bottom, before the main page begins.Right now it seems to be overlapping both.

Sorry to bother you with this one, after the last tip you gave me I was really going strong! Thanks so much!

Old Jan 28, 2009, 05:50 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
Change Atahualpa Theme Options -> Page Menu Bar -> Border around all menu items

from currently
HTML Code:

HTML Code:
solid 1px #000000
The theme is expecting a combined ("shorthand") style for the border there and will generate:

border: [option value];

Since you didn't provide border type and width, the browsers are putting their default values there.

Last edited by Flynn; Jan 28, 2009 at 08:44 AM. Reason: Removed the semicolon from the second code.
Old Jan 28, 2009, 08:13 AM
67 posts · Jan 2009
Holy fast response. Thank you so much! Worked like a charm.
Old Feb 1, 2009, 04:29 AM
Eric Bobrow
70 posts · Jan 2009
I made the Page Menu text height larger, and wanted to make the Page Menu Bar taller, but couldn't see any setting for its height.

Is setting a border thickness the only way to control the height?

It's rather unintuitive, although by setting it to a matching color and 4px I was able to get it to look OK.

On a related note, I wanted to highlight (decorate) the current page in the Page Menu by making the font Bold, however I didn't see anywhere that could be chosen. I already have it change color, but to draw the eye better, I'd like to see how it would look in bold-face. Is there any way to do this?
Old Feb 1, 2009, 06:15 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
You can change the size of the menu tabs by adding this via HTMl/CSS Inserts -> CSS Inserts

HTML Code:
ul.rMenu li a:link, 
ul.rMenu li a:hover, 
ul.rMenu li a:visited, 
ul.rMenu li a:active
    padding: 8px 5px;    
"padding: 8px 5px" means 8 pixels inners space top and bottom, and 5 pixels left and right. Default is "4px 5px"

Also as a CSS Inserts, to make the current tab bold

HTML Code:
ul.rMenu li.current_page_item a:link, 
ul.rMenu li.current_page_item a:active, 
ul.rMenu li.current_page_item a:hover, 
ul.rMenu li.current_page_item a:visited
    font-weight: bold;
I have not added the bold option because both "hover" and "current" are getting the same style, and for "hover" bold text would make the menu "jump" a little because the bold text consumes more horizontal space. Using it only for the "current" state should look o.k. though.

The same as above, but for the Category Menu Bar:

HTML Code:
ul#rmenu li a:link, 
ul#rmenu li a:hover, 
ul#rmenu li a:visited, 
ul#rmenu li a:active
    padding: 8px 5px;    
and bold for "current"

HTML Code:
ul#rmenu li.current-cat a:link, 
ul#rmenu li.current-cat a:active, 
ul#rmenu li.current-cat a:hover, 
ul#rmenu li.current-cat a:visited
    font-weight: bold;
Old Feb 22, 2009, 08:51 AM
6 posts · Feb 2009
sadly this display of bold and changing the padding does not work if you combine the page and the category bar into one. like done here (http://forum.bytesforall.com/showthread.php?t=139)
any idea?
Old Mar 1, 2009, 08:44 AM
6 posts · Feb 2009
I still have the problem with the combined page-categorybar as described in http://forum.bytesforall.com/showthread.php?t=139.
I have made a layout with the combined page-categorybar and the pagebar in the header.

when i activate on category it highlights the category with the css insert as above.

but when i activate a page it does only highlight the page in the pagebar, but not in the combined bar.

Any idea what i could do.
the combined bar is very nice, but i like the visitor to see instantly where he/she is.

(the address for the testing i do is: http://www.zieglermarkus.de/testblog)

Old Mar 17, 2009, 10:12 AM
12 posts · Mar 2009
i'm trying to make only the category bar bold, what is the css insert for that ? thanks.
Old Jul 22, 2009, 09:29 AM
3 posts · Jul 2009
Has anybody resolved this? I am trying to do the same thing.

Originally Posted by markus
sadly this display of bold and changing the padding does not work if you combine the page and the category bar into one. like done here (http://forum.bytesforall.com/showthread.php?t=139)
any idea?
Old Jul 25, 2009, 07:58 AM
juggledad's Avatar
23,759 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this for the page menubar - the 35 is the horizontal padding, the 8 is the vertical
HTML Code:
div#menu1 ul.rMenu li a:link, 
div#menu1 ul.rMenu li a:hover, 
div#menu1 ul.rMenu li a:visited, 
div#menu1 ul.rMenu li a:active
    padding: 8px 35px;    
for the category menubar use
HTML Code:
div#menu2 ul.rMenu li a:link, 
div#menu2 ul.rMenu li a:hover, 
div#menu2 ul.rMenu li a:visited, 
div#menu2 ul.rMenu li a:active
    padding: 8px 35px;    
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Apr 21, 2010, 06:32 PM
11 posts · Dec 2009
This works well. Thank you JuggleDad!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Atahualpa Page Menu Bar -> BFA Page Menu Bar? bhannemann Page & Category Menu Bars 16 Feb 21, 2011 05:49 AM
[SOLVED] Page tab height issue: page link tabs higher than page menu bar Fux Page & Category Menu Bars 13 Oct 30, 2010 04:42 AM
[SOLVED] Page Menu Bar - Strange Space Occurring Between Menu Items NealSchaffer Page & Category Menu Bars 2 Jun 20, 2009 11:18 AM
How do I add an icon to a page menu link in page menu bar? bcorrigan Page & Category Menu Bars 9 Apr 6, 2009 03:35 PM
Trying to convert my page menu bar to the format on my simple machines forum page.. Joelb53 Page & Category Menu Bars 1 Apr 5, 2009 04:01 PM

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

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