Shopify themes, liquid, logos, and UX
How can I change my website announcement bar size? I want to make it thinner and the font smaller. None of the solutions I've found in the other discussions have worked for me.
Thank you.
Solved! Go to the solution
This is an accepted solution.
Hey @cr2024,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
14px is the font size, you can adjust it as you please.
<style>
p.announcement-bar__message.h5 span {
font-size: 14px !important;
}
p.announcement-bar__message.h5 {
padding: 5px 0 !important;
min-height: auto !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
@cr2024 - it will need custom css, can you share your page link?
Hey @cr2024,
Can you share the link to your store please? Thanks!
This is an accepted solution.
Hey @cr2024,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
14px is the font size, you can adjust it as you please.
<style>
p.announcement-bar__message.h5 span {
font-size: 14px !important;
}
p.announcement-bar__message.h5 {
padding: 5px 0 !important;
min-height: auto !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Thank you so much
Hi @cr2024
If you share your store URL and password with me, I will check and provide you with the solution.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024