New Shopify Certification now available: Liquid Storefronts for Theme Developers

Background color for Image With Text Wrapper

Solved
Bexilou
Tourist
7 0 3

Hello Shopify friends! I'm having some difficulty changing the background color for the wrapper on my image with text section. (Hopefully it's called the wrapper, I could be wrong. I have very basic knowledge of HTML and CSS 😬) I'd like the white area of this section to match my background colors, but no matter what I code I can only get the text background to match my colors, resulting in a box that has a thick white border and then a box with text that's colored. What is this area called and how can I change it?

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4235 979 1193

This is an accepted solution.

Thank you, 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:

 

div#shopify-section-template--20204853428500__5da2d3de-b10c-4593-8eab-dde1e501e2a9 {
    background: linear-gradient(310deg, rgba(244, 251, 17, 1) 15%, rgba(199, 35, 27, 1) 85%);
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1695844669449.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 4 (4)
Made4uo-Ribe
Shopify Partner
4235 979 1193

Hi @Bexilou 

Would you mind to share your Store URL website? with password if its protected. Thanks!

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


Made4uo-Ribe
Shopify Partner
4235 979 1193

This is an accepted solution.

Thank you, 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:

 

div#shopify-section-template--20204853428500__5da2d3de-b10c-4593-8eab-dde1e501e2a9 {
    background: linear-gradient(310deg, rgba(244, 251, 17, 1) 15%, rgba(199, 35, 27, 1) 85%);
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1695844669449.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


Bexilou
Tourist
7 0 3

Thank you so much!! It never even occurred to me to place the code in Assets, I've been working with the Custom CSS section for each template. I have so much more to learn still. I appreciate the help!