background-image : url();

Hi guys, Anyone know how to fill the background image? I have try use the background-image css, retrieved from project directory resources folder and still did not get the solution. I want add image to the blue background. Anyone has idea?
1 answers

Hi Ikhwan


Try placing a ‘img’ folder in your ‘{projectname}/theme/web folder like this:

Add the picture to the img folder and use this css code:


background-image: url('img/{yourPicture}.png');

It worked for me, I hope it does for you.