I've tried using the Ocober CMS syntax and relative URL in linking to an image in CSS background-image property. Please how do I achieve this. Code looks like
style="background-image: url('/assets/img/h2.jpg');"
I'm trying to this from a page file.
Change your code like this,
You need full path of the image so asset will add the path up to public directory and then further location will be added.
I hope you understand.