Shopify themes, liquid, logos, and UX
I would like to change the font size of my announcement bar MOBILE ONLY.
Desktop size is good.
edensbakehouse.nl
yuidri
Try this one.
p.announcement-bar__message.h5 span {
font-size: 12px;
}
If you like to add the boldness, to make it readable use this code.
p.announcement-bar__message.h5 span {
font-size: 12px;
font-weight: bold;
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
This also changes the size of the announcement bar for desktop.
I requested a change for MOBILE ONLY!
You can follow this instruction:
1. Go to Shopify > Theme > Customize
2. Copy and paste this code on Theme settings > Custom CSS section
@media screen and (max-width: 768px){
p.announcement-bar__message span {
font-size: 12px !important;
}
}
Result:
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