{"id":50586,"date":"2015-07-14T07:53:49","date_gmt":"2015-07-14T11:53:49","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=50586"},"modified":"2016-02-17T04:16:08","modified_gmt":"2016-02-17T09:16:08","slug":"shopify-how-to-manage-the-product-title-size","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/shopify-how-to-manage-the-product-title-size.html","title":{"rendered":"Shopify. How to manage the product title size"},"content":{"rendered":"<p>\r\n<p>Hello! This video tutorial shows how to manage the product title length in Shopify templates.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=1SK5D_Mzbl0?width=1280&amp;height=720\" rel=\"prettyPhoto\">Shopify. How to manage the product title size<\/a><\/p>\r\n<p>Sometimes the product title is cut off on the product listing page due to the large number of symbols:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_1-300x165.png\" alt=\"shopify_manage_product_title_length_1\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-50587\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_1-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_1-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_1.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Let&#8217;s learn how to increase the title length so that the full product name is displayed.<\/p>\r\n<p>The tutorial assumes you are already logged into your Shopify admin panel.<\/p>\r\n<ol>\r\n<li>\r\n<p>Navigate to <strong>Online Store ->Themes<\/strong> tab:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_2-300x165.png\" alt=\"shopify_manage_product_title_length_2\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-50588\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_2-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_2-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_2.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>On the appeared screen click the <strong>&#8220;&#8230;&#8221;<\/strong> button at the top right and choose <strong>Edit HTML\/CSS<\/strong> option:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_3-300x165.png\" alt=\"shopify_manage_product_title_length_3\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-50589\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_3-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_3-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_3.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Click on the <strong>Snippets<\/strong> folder on the left, then click the <strong>product-listing-item.liquid<\/strong> file to open it for editing:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_4-197x300.png\" alt=\"shopify_manage_product_title_length_4\" width=\"197\" height=\"300\" class=\"aligncenter size-medium wp-image-50590\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_4-197x300.png 197w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_4-99x150.png 99w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_4.png 460w\" sizes=\"(max-width: 197px) 100vw, 197px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Once the file is opened, locate the following line of code there:<\/p>\r\n<\/li>\r\n<\/ol>\r\n<pre class=\"brush:html\">\r\n\t&lt;a href=&quot;{{ product.url | within: collection }}&quot;&gt;{{ product.title | truncate:30}}&lt;\/a&gt;\r\n<\/pre>\r\n<p>Change the <strong>truncate:30<\/strong> to some higher value, e.g. <strong>truncate:100<\/strong> so the code looks like the above one:<\/p>\r\n<pre class=\"brush:html\">\r\n\t&lt;a href=&quot;{{ product.url | within: collection }}&quot;&gt;{{ product.title | truncate:100}}&lt;\/a&gt;\r\n<\/pre>\r\n<p>Click <strong>&#8220;Save&#8221;<\/strong> button at the top right to apply the changes:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_5-300x197.png\" alt=\"shopify_manage_product_title_length_5\" width=\"300\" height=\"197\" class=\"aligncenter size-medium wp-image-50591\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_5-300x197.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_5-150x99.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_5.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Open your store front-end and refresh the page to see the changes.<\/p>\r\n<p>We can see the product title is displayed fully now:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_6-300x165.png\" alt=\"shopify_manage_product_title_length_6\" width=\"300\" height=\"165\" class=\"aligncenter size-medium wp-image-50592\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_6-300x165.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_6-150x83.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/07\/shopify_manage_product_title_length_6.png 970w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>This is the end of the tutorial, you have learnt how to manage the product title length in your Shopify template.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=1SK5D_Mzbl0?width=1280&amp;height=720\" rel=\"prettyPhoto\">Shopify. How to manage the product title size<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>This video tutorial shows how to manage the product title length in Shopify templates.<\/p>\n","protected":false},"author":75,"featured_media":50595,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1771],"tags":[872,542,2419,1010],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/50586"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=50586"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/50586\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/50595"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=50586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=50586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=50586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}