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)
-   -   Adjusting text height location in menu bar (http://forum.bytesforall.com/showthread.php?t=9885)

admsteiner Sep 26, 2010 12:34 AM

Adjusting text height location in menu bar
 
Hi All,

I removed the category bar and increased the height of the pages bar (to 50px) so that it encompasses both the searchbox and RSS buttons. Can someone suggest how I can adjust the location of the text within the page bar? I'd like it to show up in middle.

I tried using vertical-align in Font Size and Face under MENU1--> Header Area to no avail.

Thanks in advance,

--Adam

lmilesw Sep 26, 2010 12:37 PM

  • URL?
  • Atahualpa version (3.4.6, 3.5.1, 3.5.3, etc.)?
  • WordPress version (2.8.4, 2.9.2, 3.0.1, etc.)?
  • Where did you modify the code for the height change?
  • Does you current modification work in IE?

admsteiner Sep 27, 2010 07:51 PM

Larry,


Sorry about that.

URL: http://www.adamsteiner.net/blog
Atahualpa version: 3.5.3
Wordpress: 3.0.1

I modified the code for the height change in MENU1-->Header Area--->Font Size and Face so that it read "12px Verdana, sans-serif, vertical-align:text-middle". Changing the pixel count for font size works, but I'm interested in moving the text down so that it's in middle of the menu bar height-wise. (whose height I changed to ~50px and did away with the Category Bar).

I have an older version of IE which does not render the page correctly (something I'll have to look into), but the page renders correctly in Chrome and Firefox.

Thanks again,
-A

lmilesw Sep 27, 2010 09:07 PM

You only adjust font size and face in the font size and face box. the Vertical align is not valid there. also there is a vertical-align:middle but no text-middle. I am having a difficult time trying to figure out what you did and the only think I can come up with for fix is somewhat convoluted but here it is. You can add in ATO>Add HTML/CSS Inserts>CSS Inserts and see what happens. You probably already have the height there and would just need to change it to 66px.
HTML Code:

#rmenu2 li.page_item {overflow:hidden;padding-top:18px;}div#menu1 ul.rMenu {height:66px;}


All times are GMT -6. The time now is 07:32 PM.

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