Shopify themes, liquid, logos, and UX
Hi,
I made the text in my announcement bar bold and changed the color to white, but these changes are not being applied on mobile. How can I make it look the same on mobile as it does on desktop?
Thanks
Solved! Go to the solution
This is an accepted solution.
Hey @vitoria_muka,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
@media only screen and (max-width: 749px){
p.announcement-bar__message.h4 {
font-weight: bold !important;
color: white !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
hello,
if u send me your store url, we can help!
use these.
@media (max-width: 991.98px){
p.announcement-bar__message.h4 {
font-weight: 600;
color: white;
}
}
Didnt work 😞
Hey @vitoria_muka,
Could you please share the link to your store please? Thanks!
This is an accepted solution.
Hey @vitoria_muka,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
@media only screen and (max-width: 749px){
p.announcement-bar__message.h4 {
font-weight: bold !important;
color: white !important;
}
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
It worked! Thank you! 🙂
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024