Background Color Change for Pages

Solved

Background Color Change for Pages

ShopElle
Tourist
10 0 6

Hi!
I've been having some trouble changing the background color for individual pages. They're white on default and there's no color scheme option.

Theme - Trade

Website: https://wxccqp-af.myshopify.com/

Password: bowgla


I've tried this code with no success: 

section#shopify-section-template--15858378670151__main {
     background: #151515;
}
section#shopify-section-template--15858378670151__main * {
    color: #151515;
}

Example of my problem:

Screenshot_38.png

This is a problem for every page I have on my website (contact, faq, terms of service, etc;) excluding the home page. Any assistance would be greatly appreciated!

Accepted Solution (1)

Moeed
Shopify Partner
6530 1773 2145

This is an accepted solution.

Hey @ShopElle 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
main#MainContent {
    background: #151515 !important;
}
</style>

RESULT:

Moeed_0-1736503576751.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 9 (9)

Sivadarshan
Shopify Partner
215 1 30

Edit code --> base.css --> .focus-none{background:black;}

Sivadarshan
Shopify Partner
215 1 30

@ShopElle If this works have a like and accept the solution

ShopElle
Tourist
10 0 6

Hey @Sivadarshan !

Unfortunately this doesn't work. 

Moeed
Shopify Partner
6530 1773 2145

This is an accepted solution.

Hey @ShopElle 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
main#MainContent {
    background: #151515 !important;
}
</style>

RESULT:

Moeed_0-1736503576751.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


ShopElle
Tourist
10 0 6

Hi @Moeed 

This worked, thank you very much!

Moeed
Shopify Partner
6530 1773 2145

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Tech_Coding
Shopify Partner
500 127 124

Hello @ShopElle 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
     main#MainContent {
       background: #151515 !important;
    }
</style>
RESULT:

Tech_Coding_0-1736503871894.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

websensepro
Shopify Partner
1720 194 235

Hi @ShopElle 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

main#MainContent {
    background: #151515;
    color: #151515 !important;
}

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

Need a Shopify developer? Hire us at WebSensePro For Shopify Design Changes/Coding
For Free Tutorials Subscribe to our youtube
Get More Sales Using Big Bulk Discount APP
Create Your Shopify Store For Just 1$/Month
Get More Sales Using Big Bulk Discount APP

ZestardTech
Shopify Partner
5986 1076 1439

Hello @ShopElle,

 

Here are the steps to apply the necessary changes in your Shopify store:
In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
Locate Asset > base.css and paste the following code at the bottom of the file:

 

body main#MainContent {
    background: #151515 !important;
}

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing