Shopify themes, liquid, logos, and UX
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
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: