Hi, I need to make this custom font announcement bar text a bit smaller but on mobile only. Please do not change the desktop.
How do I do this?
Thank you ![]()
Using dawn
https://dummytesting123403.myshopify.com/
password: meow
Mobile-only reduction of announcement bar text size in the Shopify Dawn theme. The original poster wants smaller text on mobile without affecting desktop.
Proposed solutions:
Follow-up and current status:
Key terms:
Attachments: Screenshots illustrate the mobile font-size change outcome.
Hi, I need to make this custom font announcement bar text a bit smaller but on mobile only. Please do not change the desktop.
How do I do this?
Thank you ![]()
Using dawn
https://dummytesting123403.myshopify.com/
password: meow
Hello @kirstenlc5 ![]()
To do that, in Shopify Admin, go to Themes > Edit code, open file base.css and add this code snippet at the bottom
@media (max-width: 749px) {
.announcement-bar__message {
font-size: 10px !important;
}
}
The result
Hope that helps!
Hi @kirstenlc5 .
This is PageFly - Advanced Page Builder.
You can go to Online store => themes => actions => edit code and add this code on file base.css
@media screen and (max-width: 767px){
span.h2 {
font-size: 18px !important;
}
}
Hope this answer helps.
Best Regards,
PageFly
Hi, this is not working for me, can you assist?
hi can you provide a solution for me? I want to reduce the announcement banner height on my mobile site.