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?
Hi @Bexilou
Would you mind to share your Store URL website? with password if its protected. Thanks!
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:
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!
