Shopify themes, liquid, logos, and UX
Hi everyone,
Is there a way to decrease the font size in my banner on mobile only?
Best,
Chrystel
Solved! Go to the solution
This is an accepted solution.
Hi @Chrystel078
Yes, it is possible. Try adding this to the end of your custom.css
@media screen and (max-width: 640px) {
#shopify-section-slideshow div.Slideshow__Content.Slideshow__Content--bottomLeft > header > h3 {
font-size:25px !important
;
}
}
Note that custom.css has a lot of styles using !important and that is not a recommended way. Also, you have targeted generated ids like
#Slide5c17cf78-8c94-44f7-bacc-97b73fa7bb11 and that could change if you make some changes to sections. that way styles would be gone.
This is an accepted solution.
Hi @Chrystel078
Yes, it is possible. Try adding this to the end of your custom.css
@media screen and (max-width: 640px) {
#shopify-section-slideshow div.Slideshow__Content.Slideshow__Content--bottomLeft > header > h3 {
font-size:25px !important
;
}
}
Note that custom.css has a lot of styles using !important and that is not a recommended way. Also, you have targeted generated ids like
#Slide5c17cf78-8c94-44f7-bacc-97b73fa7bb11 and that could change if you make some changes to sections. that way styles would be gone.
Learn 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, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025