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] Page Menu Sub Menus of Equal Width (http://forum.bytesforall.com/showthread.php?t=1986)

Craig Mattice Jun 9, 2009 06:07 AM

[SOLVED] Page Menu Sub Menus of Equal Width
 
I've done several searches and not found the answer to this question.

What code do I enter to make the drop down sub menus default to the width of the pages in the Page Menu Bar? The control panel under Page Menu Sub Menu only addresses specific pixel widths but not how to code the "em."

Where do I find the proper page to enter this code?

Thank you for your time and assistance.

shedhed Jun 9, 2009 01:01 PM

Craig,

The top level page menu items have an auto width property whereas the sub-menu items have a fixed width setting that is adjustable via Atahualpa Theme Options - Page Menu Bar - Width Of Sub Menus.

If you want the top level items to have the same width as the sub menus (the reverse of what you are asking for but ultimately will give you the same effect) then you will have to add a CSS insert via Atahualpa Theme Options - HTML/CSS Inserts - CSS Inserts

something like:-

ul.rMenu li {width: 11em;}

where the 11em matches the width you have set your sub menu to, 11em is the theme default.

Hope this helps.


Andy

Flynn Jun 11, 2009 04:46 AM

Also, if you want each submenu to have the same width as the (individual) width of its parent menu item in the top level, that's not possible with CSS alone.

The width of top level items adjusts itself to the width of the link text inside, but it can also be set to a fixed width as pointed out by shedshed above.

The 2nd and lower level items need to have a defined width

Top level: auto or defined
Sub levels: defined

Craig Mattice Jun 14, 2009 06:30 AM

Sorry for the delayed response. My ISP cable was nicked by Verizon digging a new line. I have Comcast. Just getting back online.

I've learned so much from this forum and the members. I was disillusioned by the fact that I can make the edit change using Firebug in both the Style and edit html modes but couldn't find where to do it in "reality."

I do find when establishing defined widths for the primary it wraps creating a full second line to the menu bar. I think it will be easier to change the name and length of the perpetrating page title and fix the page menu. It will sure make things much more uniform and attractive.

Well Flynn, once again I've learned a great deal about Wordpress and this theme while trying to figure this out. No education is lost education. I'm loving this learning process though.

Craig Mattice Jun 17, 2009 03:46 AM

Sorry for the delayed update. Lost all internet and phone service, outside home cable cut when competition was digging their cable trench.

I have followed the directions, made the attribute adjustments, and am very satisfied with the results.

Thank you for your contributions to my question and great directions.

Consider this challenge [SOLVED].


All times are GMT -6. The time now is 01:36 PM.

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