How to change background to black on the policies section for mobile

How to change background to black on the policies section for mobile

tmitch
Tourist
6 0 3

Hello! Right now I've been having issues trying to make the background of the policies section back and the text white work on mobile devices its only working on desktop. Any help would be appreciated thank you!

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
6978 1661 2051

Hi @tmitch 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
Made4uo-Ribe
Shopify Partner
6978 1661 2051

Not the admin URL, only the URL store that will go on public. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
tmitch
Tourist
6 0 3
Made4uo-Ribe
Shopify Partner
6978 1661 2051

Thanks for the info., check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

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:

 

.shopify-policy__container * {
    color: white !important;
}
main#MainContent {
    background: black !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1703805971137.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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
tmitch
Tourist
6 0 3

It still didn't work even when on mobile.

Screenshot_20231228_154236_Chrome.jpg