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


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

adjust auto-width so line breaks do not occur
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: adjust auto-width so line breaks do not occur
#41948
adjust auto-width so line breaks do not occur 11 Years, 5 Months ago Karma: 0
The site www.k3festival.com runs on joomla 2.5 and uses Ari Ext Menu.
There was a little problem with long names in sub-menues. They were many times displayed in two lines although auto-width was set.
So I checked the inline (by ARI calculated style width of li elements(?)) and found out that the calculated width was one 1px too less.
I could not figure out how to add 1px, but I found the following work-around:

I simply added:
letter-spacing: -0.01em;
into CSS to the li-elements.

I posted it here in the forum as it might be of interest for other readers and maybe there is a better, cleaner work-around.

Thanks for this great module!

Fritz
KOMMERZkunst
The administrator has disabled public write access.
 
#41963
Re:adjust auto-width so line breaks do not occur 11 Years, 5 Months ago Karma: 760
Hello,

If necessary to show menu item titles in one line, possible to use the following CSS rule:

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

Regards,
ARI Soft
The administrator has disabled public write access.
 
#41973
Re:adjust auto-width so line breaks do not occur 11 Years, 5 Months ago Karma: 0
perfect!
Thanks!

(many times the solution is so close but you get stuck with wrong assumptions, hehe)

Cheers,

Fritz
KOMMERZkunst
The administrator has disabled public write access.
 
Go to topPage: 1