Shopify themes, liquid, logos, and UX
Hi,
We are using Enterprise theme, we would like to change the font of the 'cards title' in collection products section and featured collection section. It is currently bold, and we would like to change it to normal ?
Thank you
Solved! Go to the solution
This is an accepted solution.
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h2.h4.mb-0.flex-auto.section__heading.text-center, p.card__title.font-bold.mb-1 {
font-weight: 400 !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
This is an accepted solution.
Replace the above code with below code
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h2.h4.mb-0.flex-auto.section__heading.text-center {
font-weight: 500 !important;
}
p.card__title.font-bold.mb-1 {
font-weight: 400 !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hello @Fratello
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
Hello,
it is https://www.fratello.bike/
Pass: yiltee
As you can see, we would like the font of card title in collection products to be less bold and more like the font of product title on main page product.
Thanks
This is an accepted solution.
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h2.h4.mb-0.flex-auto.section__heading.text-center, p.card__title.font-bold.mb-1 {
font-weight: 400 !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Perfect ! it works perfectly, thank you very much !
If we want to make it a little more bold, is it possible with this code ? or do we only have 400 and 700 choice ?
And to choose the size of the font, could you tell me the code for it ?
Thank you
This is an accepted solution.
Replace the above code with below code
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
h2.h4.mb-0.flex-auto.section__heading.text-center {
font-weight: 500 !important;
}
p.card__title.font-bold.mb-1 {
font-weight: 400 !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025