New Shopify Certification now available: Liquid Storefronts for Theme Developers

How Do I Change The Font Size In The Announcement Bar?

Simon159
Excursionist
28 0 7

Hey guys, how do I change the size of the font in my announcement bar? I would like to make it bigger. Thank you!

 

 

Replies 2 (2)
Moeed
Shopify Partner
3051 761 925

Hey @Simon159 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.announcement-bar__message {
    font-size: 20px !important;
}
</style>

RESULT:

Moeed_0-1695445476544.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
syedsumaimaly
Explorer
147 16 17

Hi @Simon159

Follow these Steps:

Go to Online Store Edit Code Find theme.liquid file or base.css

Add the following code in the bottom of the file above </body> tag

 

 

p.announcement-bar__message.h5 {
    font-size: 22px;
}

 

syedsumaimaly_0-1695904960265.png

If I managed to help you then, don't forget to Like it and Mark it as Solutions