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;
}
And Save.
Result:
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:
Go to Shopify > Theme > Customize
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: