Shopify themes, liquid, logos, and UX
hello, i want to change the font size of my announcement bar for desktop, but keep it the same for mobile
website is www.marcomontesi.com , theme is dawn
Solved! Go to the solution
This is an accepted solution.
HI @ads18922
@media screen and (min-width: 1024px){
p.announcement-bar__message {
font-size: 20px !important;
}
}
I hope this helps
Best,
Daisy
Hi @ads18922
Please add this code to Custom CSS in Sale Channels > Online Store > Themes > Customize > Theme settings.
@media (min-width: 750px) {
html p.announcement-bar__message.h5 {
font-size: 12px;
}
}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
@ads18922 hi hope you are well,
please use this css on base.css file on your theme
p.announcement-bar__message.h5 {
font-size: 20px !important;
}
update size base on px
please let us know
Thank you
This is an accepted solution.
HI @ads18922
@media screen and (min-width: 1024px){
p.announcement-bar__message {
font-size: 20px !important;
}
}
I hope this helps
Best,
Daisy
<style>
@media screen and (min-width: 990px) {
p.announcement-bar__message.h5 {
font-size: 20px;
}
}
</style>
Hello @ads18922
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
@media only screen and (min-width: 750px) {
h5, .h5 {
font-size: calc(var(--font-heading-scale)* 1.7rem);
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
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