How do I change the background colour for the PAGE sections? Using Shopify free theme "origin"

Solved

How do I change the background colour for the PAGE sections? Using Shopify free theme "origin"

Dreamcatcherweb
Tourist
6 0 3

I think I'm going to go completely bonkers here.

 

Working with the Shopify free theme "Origin" and I'm trying to change the colour of the page section.  I want to apply color scheme 2, but it's not applying only to the page sections. I don't have the option to select a colour scheme for this section either. 

 

I'd like for the entire theme to be black and white, but it won't let me change that gross beige color scheme 1. I know there's got to be a way to do this! Can anyone point me in the direction of the code I need to make this change?

download-1.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
8230 1975 2419

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

section#shopify-section-template--22703656960022__main {
     background: #000;
}
section#shopify-section-template--22703656960022__main * {
    color: #fff;
}

 

And Save. 

Result:

Made4uoRibe_0-1726934941121.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.

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
8230 1975 2419

Hi @Dreamcatcherweb 

Would you mind sharing your store URL? 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.
Dreamcatcherweb
Tourist
6 0 3

Hey there! Thanks for offering to take a look. 

 

thedreamcatchersweb.ca 

 

the storefront password is piglem

Made4uo-Ribe
Shopify Partner
8230 1975 2419

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

section#shopify-section-template--22703656960022__main {
     background: #000;
}
section#shopify-section-template--22703656960022__main * {
    color: #fff;
}

 

And Save. 

Result:

Made4uoRibe_0-1726934941121.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.
Dreamcatcherweb
Tourist
6 0 3

Thank you so much! That did the trick.

BSSCommerce-HDL
Shopify Partner
2303 847 1061

@DreamcatcherwebCan you kindly share your store link with us? We will check it and suggest you a solution if possible.

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

exertweb
Tourist
24 7 3

Hello @Dreamcatcherweb 

If you're looking to apply background colors block-wise, updating the schema in the section’s .liquid file is an effective way to introduce background settings that can be managed from the theme editor.

Here’s a breakdown of how you can do this:

  1. Edit the Section Schema: In the .liquid file for the section you want to change, you can add a new color setting in the schema. This will allow you to control the background color via the theme customizer.

    For example, open the relevant .liquid file (e.g., sections/page-sections.liquid) and add the following code to the schema:

 

 

Apply the Background Setting via CSS: Once the color setting is added, you can apply it in the CSS by targeting the section ID. Use inline CSS in the .liquid file to dynamically set the background color based on the user’s selection in the theme customizer:

 

 

exertweb_0-1726933479331.png


Managing via Section ID: By adding the background color settings to the schema, you can easily manage the background colors for each section in the theme editor. Each section’s ID can then be used to apply specific styles using CSS or inline styles, giving you control over individual block background colors. 

exertweb_1-1726933533632.png
This method allows for more flexibility and keeps everything manageable from the theme’s customizer.

Let me know if you'd like further clarification!

BSS-TekLabs
Shopify Partner
2350 701 826

Hello @Dreamcatcherweb 
Our team is ready to help you.
Please share your website URL so that we can check and assist you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
BSS-TekLabs
Shopify Partner
2350 701 826

- Here is the solution for you @Dreamcatcherweb 
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it

<style>
section#shopify-section-template--22703656960022__main {
    background: #11151c;
    color: white !important;
}
h1.main-page-title.page-title.h0.scroll-trigger.animate--fade-in {
    color: white !important;
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1726934814709.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now