Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

How to set width of submenus
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to set width of submenus
#54909
How to set width of submenus 2 Years, 6 Months ago Karma: 0
This seems like it would/should be really easy, so I think I am missing something simple, but how do I set the width of the submenu dropdowns, like on this site: mortarnet.com. I see that the width is being set using JS but what is the logic and how can I control it? The width it is using is too narrow.

Thanks
The administrator has disabled public write access.
 
#54914
Re:How to set width of submenus 2 Years, 6 Months ago Karma: 670
Hello,

When "Auto width" parameter is enabled, the extension calculates width for menu items automatically. It sets the same menu width for menu items from one parent. If you want to show text of sub-menu items in one line, add the following CSS rule to "CSS Styles" parameter in module settings:

.ux-menu-sub LI A {white-space: nowrap;}

Regards,
ARI Soft
The administrator has disabled public write access.
 
#55208
Re:How to set width of submenus 2 Years, 5 Months ago Karma: 0
Thanks for that suggestion. I turned off auto-width and am not setting it manually which gives me more control, but then I notice another problem. Since its a responsive site I am testing at different widths. When site is in phone width I hide the Ari menu and use a different menu system. But if I load the site in mobile view and the stretch it out again to full wide, the Ari menu does not work because I suppose the width/height calcs it does on load do not work when it is hidden.

So the question is... is there a way to recalc on screen re-size instead of just on load?
The administrator has disabled public write access.
 
#55209
Re:How to set width of submenus 2 Years, 5 Months ago Karma: 670
The extension doesn't support this ability.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1