Hello, I am struggling with how to display the background image. I have already write the css code in style box and the image shows perfectly in design mode. However, after I published, the background image was not displayed on the website. Instead, the background was just white (However, color as background works just fine) Does anyone know what might cause such error? Thanks in advance!
You can try adding that in style box with important. You can also check the css in developer tools by inspect.
and try appliying some css there to make working and then the same code you can write in mendix application.