Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I tried different solutions that were posted under a similar subject, googled, and used ChatGPT, but nothing has worked. I am a total newbie. The top banner text on my website (www.foxesanddoe.com) shows in desktop but not in mobile. In mobile, the text appears for a brief moment and then it is gone. I can select, copy, and paste, but it is not visible after the first instance. Please help.
Solved! Go to the solution
This is an accepted solution.
Hi @Foxesanddoe
Try this one.
.announcement-bar p {
color: white !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @Foxesanddoe,
Go to Online Store, then Theme, and select Edit Code.
Search for base.css/theme.css/style.css/main.css/custom.css file Add the provided code at the end of the file.
@media (max-width: 768px){
p.announcement-bar__message.h5 {
color: white !important;
}
}
Thank you, but it did not work.
This is an accepted solution.
Hi @Foxesanddoe
Try this one.
.announcement-bar p {
color: white !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you, but it did not work.
You have another code that make this changes.
Im not sure where you paste this code either on theme.liquid or the custom css from the theme edit.
Im not sure which one you use this code , but this the main reason of your announcement bar like that.
Hello. Thank you for the feedback. I have been copying and pasting trying to fix the issue, so that is why you might see extra codes that do not belong. I am too scared to erase anything because I do not know what is extra or not. Anyway, I wanted to tell you that I used the code you gave me and placed it in the Cutom CSS inside the website editor and inside the announcement bar section, and it worked. Thank you so much!
Oh that is good to hear, if you paste it on the custom css from the custom editor you can remove this code in the base.css
And Save.
Here, developers will mostly assist you.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025