Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello!
I am working on my site, and have been working on using code to change the background colors of sections. I was able to change the color of a section, but for some reason it is not doing the entire section (see attached picture). I was able to get this to work on some other pages but for some reason it won't work for this one
The code I am using is:
section#shopify-section-template--15889756487746__1726069680f273bea4 {
background: #121212;
}
Site Address: https://a6aaf7-b7.myshopify.com/
Password: MSRed
Solved! Go to the solution
This is an accepted solution.
Hi @davidignite
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.
main#MainContent {
background: #121212;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @davidignite
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.
main#MainContent {
background: #121212;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Just slapped my forehead so hard.... I tried every combination except for this one... You are a wizard, that worked perfectly, thank you so much!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024