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)
-   -   submenus have too much white space (http://forum.bytesforall.com/showthread.php?t=21511)

dondean Feb 14, 2014 05:49 AM

submenus have too much white space
 
I have the following to make the top-level menu space out across the top:

Code:

ul.rMenu li {margin: 1px 55px 2px 45px;}
I have the submenu width set to 18.5, the smallest I can have it without the background dropdown arrow go behind the text. The problem is there is 50 px of white space on the left of submenu text and like 65px on the right, forcing the second level sub-submenu items way off to the right. Seeing your posts, I've tried several things under the selectors;

Code:

div#menu1 ul.sub-menu, div#menu1 ul.sub-menu ul, div#menu1 ul.rMenu-ver, div#menu1 ul.rMenu-ver ul
like width: 14em;, smaller margins, negative margins, text-align: left;, background-position: right; ( to move arrows over) but everything seems to squeeze text and arrows together without getting rid of white space) On a prior post I had ul.rMenu li {width: 25%} on top menu then switched to margins as per above, and thought I had it solved with your help.

the site is: http://www.trcontemporary.com

lmilesw Feb 14, 2014 09:17 AM

Instead of margins to spread out the menus I have had success with using width's for the menu items using percentages.

dondean Feb 14, 2014 02:31 PM

Still driving myself crazy with this. I tried switching back to percentage width to spread the top menu;

Code:

ul.rMenu li {width: 25%}
But still end up having to widen the submenu to like 18.5em (or 250px wide via css inserts) to get the arrows from combining with the text--resulting in huge white space on both sides of the sub-menu items and the sub-sub menus flying way off to the right. I'm probably missing something obvious but just can't find it.

lmilesw Feb 14, 2014 04:08 PM

If you export your setting and attach to a post via the paperclip icon I will import and take a look.

dondean Feb 16, 2014 03:35 PM

1 Attachment(s)
Here are the settings, attached, I think. Thanks!

dondean Feb 19, 2014 03:46 PM

Hi Lmiles, if you get a chance, I'd appreciate a look regarding the width of the submenus. Thanks!

lmilesw Feb 19, 2014 06:51 PM

In my quick test the settings for width of sub menu in the theme options worked.

dondean Feb 19, 2014 07:20 PM

Much thanks for looking at that, I'll try it out.

dondean Feb 26, 2014 09:56 AM

Narrowing the sub-Menu1 width option in ATO options -- same outcome. Going from 18.5 em to 12.5em makes the 'sub-sub' menu items hug nicely to the sub menu items, but then the indicator arrows go back under/over the text. Not sure what to try next. Again my html insert on the top menu:

Code:

ul.rMenu li {margin: 1px 55px 2px 45px;}
Changing that to 25% has the same outcome, have to widen the submenu item width to make the arrows behave, then the sub-sub menu is way off to the right.


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

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