madri
1
Hi! I tried to changed the background of a rich text section to an image.
This is my code:
#shopify-section-template--15680664404182__1646996600371653f2 .rich-text {
background-image: url("https://cdn.shopify.com/s/files/1/0628/2903/5734/files/brainwave_1_2012_3404adc5-5002-40eb-b444-27ec86533f2e.jpg?v=1646995480") !important;
}
I added this to the file: section-rich-text.css
But for some or other reason it doesn’t want to work.
Could you please advise?
Website: https://idelettdelabat.com/
Password: whihig
Is the ‘you suggest, i paint’ section is what you are referring to?
if so - add this background-image line to .rich-text. rich-text–full-width class on section-rich-text.css.
Then maybe look into playing with the background css settings such as background-size.
Hi @madri ,
Maybe it’s because the end of your file is missing {} of css, so you don’t receive it. you can copy your code to the top of the css file.
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.