Superfish Fusion menus

Events happening in the community are now at Drupal community events on www.drupal.org.
fchandler's picture

Is there a way to make the Primary menu to expand down and then left, instead of right? I want the menu on the right side of the page, and the sub-menu items to drop down and expand to the left so that they don't wrap back on top of themselves. On this page, admin/build/themes/settings/Fusion sub-theme, I have the primary menu as active, and under Fusion theme settings "Enable primary menu as dropdown" is selected.

D6.20, Fusion 6.x-1.0 sub-theme

Comments

One way

Screenack's picture

I'm not sure if there's an "official" Fusion way to do so, but with CSS you can position the start origin for the ul ul geometry to the left, rather than below or right, by setting the box coordinates appropriately for the ul ul tag. Of course, never override the superfish css files, but do so within your subtheme.

I would fire up firebug, find the appropriate ul ul tag, check it's positioning and adjust the left values to the left.

I found this here for RtL

fchandler's picture

I found this here for RtL menues and it worked perfectly.

/*** ESSENTIAL STYLES ***/
.sf-menu li {float:right;}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {right:0;left:auto;}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {right:10em; left:auto;}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {right:10em; left:auto;}

triDUG

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: