Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello, I would like to make my product titles on the homepage and collections page more similar to this website:
if you look at their titles, if they are too long, they disappear, while mine are fully displayed.
My store link: https://bsyzza-cu.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Hello @Baaaldo
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.
.product-block__title {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
Hi @Baaaldo
Try this one.
.product-block__title {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hello @Baaaldo
Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.
.product-block__title {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
Looks like the solution is the same. And I comment first? hmmm..🤔