Hello I have a question, how can I make this product title and price smaller on mobile?
Topic summary
A user seeks help reducing the product title and price font size on mobile devices for their Shopify store.
Solution Provided:
- Add CSS code to the theme’s
base.css,style.css, or similar file - Target
.card__headingand.card-informationelements withfont-size: 14px - Use media query
@media screen and (min-width: 680px)
Current Status:
- Initial code implementation unsuccessful
- Troubleshooting in progress: helper requested clarification on whether testing occurs on phone or desktop
- Updated code provided with
!importantflags to override existing styles
Implementation Steps:
- Navigate to Online Store → Themes → Customize → Edit Code
- Locate theme CSS file in left sidebar
- Paste code at bottom of file
The discussion remains ongoing as the original poster reports no visible changes after applying the first code snippet.
Hi @Szymon9
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
Hi @Szymon9 Thanks for providing the URL, Please add the code in your theme.css/base.css/style.css file which is available in your theme.
@media screen and (min-width: 680px) {
.card__heading {
font-size: 14px;
}
.card-information>*:not(.visually-hidden:first-child)+*:not(.rating):not(.card__information-volume-pricing-note) {
font-size: 14px;
}
}
If you are not sure where is your theme.css/base.css/index.css/style.css file please follow the steps:
- Login in shopify admin.
- Click on the Online Store.
- Then click on the button next to Customize in live Theme.
- Click Edit Code.
- Search theme.css/base.css/index.css/style.css in the code in left hand side which ever is available in your theme.
- You can add the above code at the bottom of the file.
Result:
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil
Hi @Szymon9 Are you checking in phone or desktop?
please specify, also please try this code first.
@media screen and (min-width: 680px) {
.card__heading {
font-size: 14px !important;
}
.card-information>*:not(.visually-hidden:first-child)+*:not(.rating):not(.card__information-volume-pricing-note) {
font-size: 14px !important;
}
}
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil


