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
5089 1215 1483

Hi @tmitch 

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


Made4uo-Ribe
Shopify Partner
5089 1215 1483

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


tmitch
Tourist
6 0 3
Made4uo-Ribe
Shopify Partner
5089 1215 1483

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


tmitch
Tourist
6 0 3

It still didn't work even when on mobile.

Screenshot_20231228_154236_Chrome.jpg