Jump to content

Forcing a line break in product name


ghepas

Recommended Posts

Hello.

Prestashop 1.7.4.2 - Theme: "Classic"

To change the "miniature" box appearing on the category pages, so that the product name is divided on 2 lines rather than being truncated by "...", I have increased to 60 the number of characters available by editing the file "themes / classic / templates / catalog / _partials / miniatures / product.tps ".

I would like to know if there is a method to force a line break between the two lines? Example:

UNIVERSAL ENCYCLOPEDIA
OF MUSHROOMS

instead of

UNIVERSAL ENCYCLOPEDIA OF
MUSHROOMS

I tried to insert a "non-breaking space" (& nbsp;) between OF and MUSHROOMS, but Prestashop does not allow to insert a semicolon there ("This value in not valid")

Do you have any suggestions?

Thank you

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