We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How do I make announcement bar text smaller on mobile view only?

How do I make announcement bar text smaller on mobile view only?

kirstenlc5
Explorer
90 0 12

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

 

e3.PNG

Kirsten 3
Replies 4 (4)

ZenoPageBuilder
Shopify Partner
1052 203 229

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

Screen Shot 2022-10-16 at 10.05.29.png

Hope that helps!

Zeno Page Builder - Build responsive & SEO-optimized Landing pages, Blog posts, Product pages and more...
Learn more at zenobuilder.com
veravi_
Tourist
16 0 2

Hi, this is not working for me, can you assist? 

www.veravifashion.com

PageFly-Victor
Shopify Partner
7865 1786 3135

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

veravi_
Tourist
16 0 2

hi can you provide a solution for me? I want to reduce the announcement banner height on my mobile site. 

www.VERAVIfashion.com