All things Shopify and commerce
Hey guys, how can I shorten my product titles to 2 lines so that my store can have some uniformity? Like if the product title is longer than 2 lines it just shows ellipses at the end
Thank you!
Solved! Go to the solution
This is an accepted solution.
Hey @WinnieLin
You can reduce the font size from 12 to anything however you like to make it appear in 2 lines.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @WinnieLin
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
Hey @WinnieLin
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
h3.t4s-product-title {
font-size: 12px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you!Can it be set to display only 2 lines and use ellipsis for the overflow part?
This is an accepted solution.
Hey @WinnieLin
You can reduce the font size from 12 to anything however you like to make it appear in 2 lines.
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025