Re: Background color for Image With Text Wrapper

Solved

Background color for Image With Text Wrapper

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
10184 2417 3060

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
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10184 2417 3060

Hi @Bexilou 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Bexilou
Tourist
7 0 3
Made4uo-Ribe
Shopify Partner
10184 2417 3060

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
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
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!