Hi, is there a way to set a property on a component’s section background image ? I made a header as a component because I use it on all my pages but I want to change the background picture to match the page.
No, don’t think so. You might be better off by adding an image with a lower z-index and position absolute instead. Don’t forget to make the parent section position relative!
It couldn’t be that z-index -1 doesn’t work well with other elements due to it being too far back. In that case you could give the other elements in the section z-index 2 and the background image z-index-1 for example.