How do you change a section's color to gradient on Sense theme?

I want to establish the gradient in the talk about your brand section in the entire ‘image with text’ section. How can I achieve this?

Store URL: genhaat.com

Hello @ahana1605 ,

You can achieve this by adding these classes to the div container “color-background-2 gradient”,

You need to follow these steps for adding the same:

  • Go to your Shopify admin
  • Sales channels > Online store > themes
  • In Sense, theme click on actions > edit code
  • In Sections > open “image-with-text.liquid”

image.png

  • Find the div container having this class “image-with-text__content”

image.png

  • Add these classes “color-background-2 gradient” in the same div

image.png

  • Save the changes and check them on your website

image.png

Hope it helps, let us know if you need any further help.

All the best,

Team CedCommerce

Thank you so much for your help!

But I think what you have shown is to change the background of the section WITH text. I want to change the entire background BEHIND these boxes.

Hey @ahana1605 ,

To fix this problem, you must wrap the whole “Image with text” section with a new div container with the “color-background-2 gradient” class.

Refer to the below image.

image.png

Hope it helps, reach out to us if you have any questions.

Regards,

Team CedCommerce