thanks a lot in advance guys!!
Topic summary
A user seeks to increase the font size of product titles in the grid layout for Shopify’s Craft theme.
Two solutions provided:
-
CSS modification approach: Add custom code to the
component-card.cssfile by targeting the.card__headingclass and settingfont-size: 2rem; -
Theme editor approach (no custom code): Navigate to the theme’s code editor, locate the
card-product.liquidfile, search for thecard__headingclass, and change the heading tag fromh6toh2in approximately 2 locations to increase title size.
Resolution: The original poster confirmed one of the solutions worked successfully.
Do you mean this by making the text bigger?
Hi @nella1810
You can try following the steps to achieve your result
Go to online store → Edit code-> component-card.css file
And add these bellow code
.card__heading {
font-size: 2rem;
}
Result :
Hello @nella1810 ,
I understand you are looking to increase the size of the title in the Collection/ Product Listing page.
Please follow the below mentioned steps to implement this change. [In this you don’t need to add any custom code]
-
Go to Online Store → Themes → Click Three dots → Click Edit Code https://prnt.sc/DC53_dEPIyzL
-
Next search for " card-product.liquid " file and open it https://prnt.sc/gsQ8YTppcrtL
-
Now, press Ctrl+F and search for " card__heading " class https://prnt.sc/D70nyIJy3fAz
There are several sections in which this class will appear.
- Next you have to change the " h6 " with " h2 " to increase the size of the product title and save. https://prnt.sc/vqXMDZa_tdXs , https://prnt.sc/wzFK3uXNuT5n
There will be probably 2 places where you have to implement " h2 "
Output -:
I hope this helps.
Please let me know if you have any query.
Thank you.
It helped! thank you for taking the time!!


