Shopify themes, liquid, logos, and UX
I have spent hours trying the change the font size for my products but cannot manage it. Iv'e tried adding custom CSS snippets, code into the main theme.liquid but still no success. How can I do this? I am using the vision theme
Many thanks
Here is the link to my store: https://www.lazyluresfishing.com/
Do you want to change font size for what section?
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
The title for each product. It's set to 100% but cannot go any lower. I need the product titles to be made smaller for mobile
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings.
@media (max-width: 749px) {
.thb-product-detail .product-title { font-size: 1.8rem !important; }
}
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey there! Changing the font size on your product page for mobile should be straightforward with the right CSS targeting. Here's how to tackle it:
Log in to Your Shopify Admin:
Find the Right CSS File:
Add Mobile-Specific CSS: Add the following code at the bottom of the file:
@media (max-width: 768px) {
.product-page-class {
font-size: 16px !important; /* Replace with your desired size */
}
}
Save and Test:
If you're tired of chasing code, you could try EasyEdits. It lets you visually change font sizes directly on your product page without needing to dive into code. Plus, you can make edits during the free trial and keep them forever—even if you decide not to continue with the app.
Let me know if you get stuck or need help finding the class name! (By the way, I’m the developer of EasyEdits, so feel free to ask any questions about it. 😊)
Thanks you but I can't seem to find either theme.css or style.css folders
Hello, @RVWebsitehelp
1) Go to Online Store
2) Edit Code
3) Find theme.css/base.css file
4) Add the following code in the bottom
h1.product-title {
font-size: 22px !important; /* increase as per your choice */
}
Thanks!
Hi, I don't have theme.css or base.css. I only have theme.liquid
No worries at all, on theme.liquid you can add after head like this
<style>
@media screen and (min-width: 990px) {
.collection--full-width slider-component:not(.slider-component-desktop) {
/* padding: 0 1.5rem; */
/* max-width: none; */
max-width: var(--page-width);
margin: 0 auto;
padding: 0 5rem;
}
}
</style>
Thanks. I will try this now. And where abouts in the code do I change the size of the font?
You can add after padding like this
<style>
@media screen and (min-width: 990px) {
.collection--full-width slider-component:not(.slider-component-desktop) {
max-width: var(--page-width;
margin: 0 auto;
padding: 0 5rem;
font-size: 20px !important; /* increase or decrease as per your choice */
}
}
</style>
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn 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, 2025