Shopify themes, liquid, logos, and UX
Hi everyone,
I am currently using Empire (ver. 11.0.0) by Pixel Union.
On a product page, I was wondering is there a way to change the font size and typography of the different heading styles (i.e. h2, h3, h4 etc.)?
I have reached out to them and they suggested posting in here as this requires coding.
My store URL is: https://vocationgardenspaces.co.uk/
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
Hi @Vocation Yes you can do it no issues.
here is your updated code for that
h1, h2, h3 {
font-size: 10px !important; /*edit the number according to your need */
}
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Hi @Vocation
Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.
Best regards
Sahil
- Your
Hi @Vocation Thanks for the URL. Please add the code in your theme.css/base.css/style.css file which is available in your theme.
.product-title {
font-size: 10px !important; /*edit the number according to your need */
}
If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Thanks for this but I was wondering whether you could apply this to the different headings (i.e h1, h2, h3 etc.) rather than just the product title.
Thanks.
This is an accepted solution.
Hi @Vocation Yes you can do it no issues.
here is your updated code for that
h1, h2, h3 {
font-size: 10px !important; /*edit the number according to your need */
}
If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Best Regards
Sahil
- Your
Hi, I ahve tried this for a h2 in my product description which is showing up in store huge , and its made no change i added it at the bottom of the theme.css file , any advice ? many thanks
Hi @stafems Can You please provide me your store URL so that I can look into this.
Best Regards
Sahil
- Your
Hello @Vocation
Can you share store URL?
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>
.product-title {
font-size: 20px !important; /*Adjust according to you*/
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thanks for this but this appears to only work for the product title. I was wondering whether you could apply this to the different headings (i.e h1, h2, h3 etc.)
Thanks.
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>
h1, h2, h3 {
font-size: 20px !important; /*Adjust according to you*/
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024