Change section colour

Solved
jakegrieveson
Explorer
123 0 16

At the bottom of my product pages, it is white, I would like to change it to #d9d9d9, What is some code to do this?

Theme:dawn

Website:desire-online.net

 

 

Screenshot (439).png

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4090 937 1143

This is an accepted solution.

Hi @jakegrieveson 

Try 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:

 

section#shopify-section-template--19958073983266__related-products .color-background-1.gradient.no-js-hidden {
    background: #d9d9d9 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698246444441.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 3 (3)
Dan-From-Ryviu
Shopify Partner
5566 1019 1044

Hi @jakegrieveson 

You can do that by adding this CSS code at the bottom of your base.css file

.media.media--hover-effect > img + img { opacity: 1 !important }

- 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

jakegrieveson
Explorer
123 0 16

This did not work

Made4uo-Ribe
Shopify Partner
4090 937 1143

This is an accepted solution.

Hi @jakegrieveson 

Try 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:

 

section#shopify-section-template--19958073983266__related-products .color-background-1.gradient.no-js-hidden {
    background: #d9d9d9 !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1698246444441.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com