- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Shopify. How to manage the product title size
July 14, 2015
Hello! This video tutorial shows how to manage the product title length in Shopify templates.
Shopify. How to manage the product title size
Sometimes the product title is cut off on the product listing page due to the large number of symbols:
Let’s learn how to increase the title length so that the full product name is displayed.
The tutorial assumes you are already logged into your Shopify admin panel.
-
Navigate to Online Store ->Themes tab:
-
On the appeared screen click the “…” button at the top right and choose Edit HTML/CSS option:
-
Click on the Snippets folder on the left, then click the product-listing-item.liquid file to open it for editing:
-
Once the file is opened, locate the following line of code there:
{{ product.title | truncate:30}}
Change the truncate:30 to some higher value, e.g. truncate:100 so the code looks like the above one:
{{ product.title | truncate:100}}
Click “Save” button at the top right to apply the changes:
Open your store front-end and refresh the page to see the changes.
We can see the product title is displayed fully now:
This is the end of the tutorial, you have learnt how to manage the product title length in your Shopify template.
Feel free to check the detailed video tutorial below: