Jump to content

Title Of Products With Same Lenght.


Derres

Recommended Posts

If for example i give 100 to the title truncate, how can i say to all products to keep 3 lines for the title for avoid disalignment ?

 

All the products, also if the title is only 10 caracters need to be long 3 lines or 100 caracthers with withe space.

 

Thanks

Link to comment
Share on other sites

There is no way. Hundred i's will always be shorter than 100 w's - not to mention the effect of breaking off words. This is unless you take a font with a fixed character width but those don't look very nice.

 

What you can do is give the div or other element in which your text is wrapped a fixed height. In that case when a text is too long its last part in hidden.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...