How do i make the text on my shop announcement bar in bold and bigger font size?
Topic summary
A Shopify store owner wants to make their announcement bar text bold and larger. Multiple solutions providers offer the same CSS-based approach:
Solution Steps:
- Navigate to: Online Store → Themes → Actions → Edit Code
- Locate the base.css file in the Assets folder
- Add CSS code at the bottom of the file
Recommended CSS Code:
p.announcement-bar__message.center.h5 {
font-weight: bold;
font-size: 120%; /* or 18px/20px */
}
Customization:
Users can adjust font-size and font-weight values to fine-tune the appearance. All respondents provide consistent guidance with minor variations in specific pixel sizes (18px-20px) or percentage values (120%). Screenshots are included showing where to find the theme code editor.
Please put in below code to the last line of base.css
by going to your store admin > Online Store > Themes > Actions > Edit code > Assets folder. (https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/edit-theme-code)
p.announcement-bar__message.center.h5 {
font-size: 120%;
font-weight: 900;
}
You can play with font-size and font-weight to fine tune it.
Hi @suoshie
This is Victor from PageFly - Landing Page Builder App.
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on head file base.css
For example :
p.announcement-bar__message.center.h5 {
font-weight: bold;
font-size: 20px;
}
Hope this answer helps.
Best regards,
Victor | PageFly
Hello @suoshie ,
You can follow these steps:
- Go to Online Store->Theme->Edit code
- Open your theme.liquid file, paste the below code before
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset > base.css and paste this at the bottom of the file:
p.announcement-bar__message.center.h5 {
font-weight: bold;
font-size: 18px;
}



