Sense Theme - How to add a Background Image

Hello!

I am trying to customize the background on specific pages to have images. I have tried adding the code:

{% if request.path contains ‘about-us’ %}

body { background-image: url({{ 'lemons.jpg' | asset_img_url: 'original' }}); background-repeat: no-repeat; background-size: cover; }

{% endif %}

to theme.liquid and base.css but neither resulted in a change. Am I using the correct code or putting it in the correct location? @Hardik29418 (I saw this code in response to the debut theme)

Hi @Glendaa1 ,

Can you let us know which page you want to add background image.

Hi @SmallTask ,

I have created an “About Us” which is currently on the default page for the theme.

You can set the background image in the body tag by customizing the about.liquid code.