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
Excursionist
23 0 7

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
9875 2353 2951

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 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.
tmitch
Excursionist
23 0 7
Made4uo-Ribe
Shopify Partner
9875 2353 2951

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

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.
tmitch
Excursionist
23 0 7
Made4uo-Ribe
Shopify Partner
9875 2353 2951

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 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.
tmitch
Excursionist
23 0 7

It still didn't work even when on mobile.

Screenshot_20231228_154236_Chrome.jpg