Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
how can I change the font size of the title and how can I change the price font size and color as well? on the collection page items as well as on the homepage section? see images below
Solved! Go to the solution
This is an accepted solution.
@alyhz, let's try this one instead
<style>
h3.card__heading.h5 {
font-size: 9px!important;
}
span.price-item.price-item--regular:not(.product *) {
color: #737373!important;
font-size: 7px!important;
}
</style>
Hi @alyhz.
I don't think Dawn has those settings built-in, so a workaround would be to overwrite the values with additional CSS rules. Do you already know what font size and color you'd like to change to?
Here's how to do that:
<style>
h3.card__heading.h5 {
font-size: 9px!important;
}
span.price-item.price-item--regular {
color: #737373!important;
font-size: 7px!important;
}
</style>
The above code will work for both, collections and the homepage. However, you'd need to readjust the values as 9 and 7px fonts are incredibly small.
Here's how it looks:
hi, thank you very much - this was helpful but this is also changing the font size of the price on the product page (which I do not want) can I somehow exclude that?
This is an accepted solution.
@alyhz, let's try this one instead
<style>
h3.card__heading.h5 {
font-size: 9px!important;
}
span.price-item.price-item--regular:not(.product *) {
color: #737373!important;
font-size: 7px!important;
}
</style>
thank you!!
Anytime! Glad I could help! 🙂
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025