Top banner text not showing up on mobile

Solved

Top banner text not showing up on mobile

Foxesanddoe
Tourist
6 0 1

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. 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10038 2387 3014

This is an accepted solution.

Hi @Foxesanddoe 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.announcement-bar p {
    color: white !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1741030160955.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 7 (7)

CodingFifty
Shopify Partner
901 134 164

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;
}
}
Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com
Foxesanddoe
Tourist
6 0 1

Thank you, but it did not work.

Made4uo-Ribe
Shopify Partner
10038 2387 3014

This is an accepted solution.

Hi @Foxesanddoe 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.announcement-bar p {
    color: white !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1741030160955.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Foxesanddoe
Tourist
6 0 1

Thank you, but it did not work.

Made4uo-Ribe
Shopify Partner
10038 2387 3014

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. 

Made4uoRibe_0-1741102223672.png

Im not sure which one you use this code , but this the main reason of your announcement bar like that.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Foxesanddoe
Tourist
6 0 1

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! 

Made4uo-Ribe
Shopify Partner
10038 2387 3014

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

Made4uoRibe_0-1741103736147.png

And Save. 

Here, developers will mostly assist you.

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.