New Shopify Certification now available: Liquid Storefronts for Theme Developers

Need some help please with foreground/background color

Solved
mace7881
Visitor
3 0 0

Hello everyone, need some help please.  I'm currently using the Momentum theme from Eight Themes and I can't seem to change the foreground/background color of these 2 different sections despite using the !important code color...  See attached screenshot please.  Can I get some advice on how to fix this?  Very much appreciated!

 

website is www.remmyautowerkz.com and pw is "gaucey"

 

mace7881_0-1698894072371.png

 

Accepted Solution (1)
PageFly-Oliver
Navigator
484 92 89

This is an accepted solution.

Hi @mace7881 ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#shopify-section-template--21342710137109__filters *,#shopify-section-template--21342710137109__main *{
background:black !important;
color: #e0e0e0 !important
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)
Dan-From-Ryviu
Shopify Partner
5624 1036 1064

You must add class of those section to make your code appear 

example: .bg-page { background-color: black; }

- Helpful? Like and Accept a solution. - Donate: Buy coffee - or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now

mace7881
Visitor
3 0 0

Nope, didn't work...

PageFly-Oliver
Navigator
484 92 89

This is an accepted solution.

Hi @mace7881 ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
#shopify-section-template--21342710137109__filters *,#shopify-section-template--21342710137109__main *{
background:black !important;
color: #e0e0e0 !important
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

mace7881
Visitor
3 0 0

Thank you!  It worked!   However, it looks like only those 2 sections were fixed.  Is there any way to change the foreground/background to those 2 colors globally?  Like my entire webpage?  I went into product page and only some were black but some were white. 

 

mace7881_0-1698897199266.png