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 want to change my font size for the announcement bar on mobile but not mobile. Also I would like to change the text so that it is bold:
I want to change it from this, to something like this:
I am using dawn theme
This is my store domain: qmpryp-cx.myshopify.com
Solved! Go to the solution
This is an accepted solution.
Hey @ads18922
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.announcement-bar__message {
font-size: 8px !important;
min-height: 0 !important;
font-weight: bold !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @ads18922
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
@media screen and (max-width: 767px) {
.announcement-bar__message {
font-size: 8px !important;
min-height: 0 !important;
font-weight: bold !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @ads18922
Try this one.
@media only screen and (max-width: 749px){
p.announcement-bar__message.h5 {
font-size: 1.5rem;
font-weight: 900;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!