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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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, 10 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, 9 Months ago Karma: 763
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, 9 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