Shopify themes, liquid, logos, and UX
Hi,
I am using Supply theme. Can anyone advise how I can limit the length of the product name so that the 'Add to cart' button can be align on the same level?
Please help.
KK
Solved! Go to the solution
This is an accepted solution.
Hi @KKWAN
Open snippet->product-grid-item.liquid and fine {{ product.title }}
now change this code with below:
{{ product.title | truncate: 30}}
Note: you can change 30 with any number that mean they show 30 character of title.
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024