How do I make these texts smaller on the mobile and desktop view?
Check it out: sweaters
A user seeks to reduce the font size of product titles and prices on their Shopify collection page for both mobile and desktop views.
Solutions Provided:
GTLOfficial suggests adding CSS code to base.css file targeting product grid links and card price information with font-size: 1.2rem !important
LizHoang recommends using the Custom CSS section in Theme Customizer with similar CSS targeting card headings and price spans at 12px !important
Current Status:
The issue remains partially unresolved. The user reports that one solution works on desktop but not on mobile, and mentions their custom CSS section is already full, preventing implementation of the second approach. No follow-up solutions have been offered yet for the mobile display issue.
yes and the price size
Hello @Lucas1200
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
#shopify-section-template--21588491010394__product-grid a.full-unstyled-link {
font-size: 12px !important;
}
.card-information > .price {
font-size: 1.2rem !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @Lucas1200 ,
You can follow the instruction below to reduce size of the text:
Go to Shopify > Theme > Customize > Open Custom CSS
Copy and paste the code below > adjust the font size as desired > Save
#shopify-section-template--21588491010394__product-grid .card__information h3.card__heading > a {
font-size: 12px !important;
}
.card-information span.price-item {
font-size: 12px !important;
}
It doesn’t worked..
It works on desktop not on mobile and my custom css is already full…