My product has too many titles displayed on the homepage. Can I change the code and set the title to 19 letters?
https://texas-hand-gun-grip.myshopify.com
Password is : 123
and problem is on : https://texas-hand-gun-grip.myshopify.com/collections/colt <<< this page
1 Like
Hi @atakanokums ,
I am not familiar with Motion theme, but you need to go to the code and truncate the title. The other solution I got is to use overflow. See image below for outcome.
- From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
- Go to Asset folder and open the theme.css file
- At very end of the code, add the code below
.grid-product__title {
width: 88%;
text-align: center;
overflow: hidden;
hyphens: manual;
}
It will show more on other products
1 Like