Categories

Featured templates

Shopify. How to manage the 产品 title size

Alice Weasley July 14, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

你好! This video tutorial shows how to manage the 产品 title 长度 in Shopify templates.

Shopify. How to manage the 产品 title size

Sometimes the 产品 title is cut off on the 产品 listing page due to the large number of symbols:

shopify_manage_产品_title_长度_1

Let’s learn how to increase the title 长度 so that the full 产品 name is displayed.

The tutorial assumes you are already logged into your Shopify admin panel.

  1. Navigate to Online Store ->Themes 选项卡:

    shopify_manage_产品_title_长度_2

  2. On the appeared screen click the “…” button at the top right and choose 编辑 HTML/ CSS option:

    shopify_manage_产品_title_长度_3

  3. 点击 on the Snippets folder on the left, then click the 产品-listing-item.液体 file to open it for editing:

    shopify_manage_产品_title_长度_4

  4. Once the file is opened, locate the following line of code there:

	{{ 产品.title | truncate:30}}

Change the truncate:30 to some higher value, e.g. truncate:100 so the code looks like the above one:

	{{ 产品.title | truncate:100}}

点击 “保存” button at the top right to apply the changes:

shopify_manage_产品_title_长度_5

Open your store front-end and refresh the page to see the changes.

We can see the 产品 title is displayed fully now:

shopify_manage_产品_title_长度_6

This is the end of the tutorial, you have learnt how to manage the 产品 title 长度 in your Shopify template.

Feel free to check the detailed video tutorial below:

Shopify. How to manage the 产品 title size

Premium Shopify Themes
This entry was posted in Shopify Tutorials and tagged 长度, 产品, Shopify, title. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket