Theme: Background images

Hi guys,

I am quite new at this and have installed a theme on my home assistant and although I have read through everything, I am just not able to get the background images to work.

The URL specified is: background-image: “center / cover no-repeat url(‘/local/waves/background.png’) fixed”

I have tried moving the images to www/waves, I have even moved it to www/community/waves. Lastly, I have tried www/community/themes/waves.

Nothing seems to work.

Any advise please

Hi Stephan, welcome to the forum!

Have you looked here: Search results for 'background image' - Home Assistant Community
and here Views - Home Assistant

Thank you,

I have read these indeed and I am still lost. I am very new to HA so just can’t seem to figure it out.

The views one I have worked out but it is the link to the image that I can’t get to work

Are you using the the sections view settings?
With this type of view you can simply add a background in the configuration of that view.

No, not using the sections view. I understand how to do that.

Im talking a general background for my main theme

Nothing here: Search results for 'theme background image' - Home Assistant Community
Have you tried a different image?
Share the YAML code.

Here is the code

Place the backgrounds in the folder /config/www/waves/

  background-image: "center / cover no-repeat url('/config/www/waves/background.png') fixed"
  lovelace-background: var(--background-image)

Im including image of the file location as well

What happens if you replace

/config/www/

with

/local/

Nothing, still does the same