Hi, I would like to change the font size of price on home page (featured collection) for the mobile view only as it is currently too big on mobile view.
Hi, url is www.softsplendor.com and pw: peifea. Thanks
Hi @softsplendor ,
Thank you for the information, try this.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
- And Save.
@media only screen and (max-width: 749px){
.card-information .price {
font-size: 12px;
}
}
Result:
I hope it help.
Hi, I just tried the method but the font size of price didn’t change on my mobile view. Attached is the screenshot on my mobile view.
Hi, I just saved and the font size has become smaller on mobile view in my shopify admin but the font size of price didn’t change when I view it on my own mobile phone.
I think you didnt notice it cause the original size before I change is 1.5rem.. and I change into 1.2rem you can change the sizes you like.. In my mobile view the Title are getting smaller on screen, but I didnt edit or give you the code for title only the price.
Thats good then. Your welcome. ![]()



