Jump to content

Change Product Titles to have 2 lines for product name


Recommended Posts

I am currently using 1.7.6.1.

I am wanting to have my products name be displayed over 2 lines and not 1 line only. I have searched everywhere and cannot find a solution fo Prestashop 1.7.6.1

Could someone assist with how I go about increasing the number of lines.

Many thanks in advance.

Link to comment
Share on other sites

  • 4 months later...
  • 6 months later...
  • 1 year later...

I have managed from another post to make larger product name but not on 2 rows

 

code

 

<h4><a href="{$product.url}" title="{$product.name}" itemprop="name" class="product_name">{$product.name|truncate:60:'...'}</a></h4>

truncate:30 change this in product.tpl

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