Hi there,
I’d like to create a simple conditional statement for the background-image inside my
.
I tried something like this, but it doesn’t work. Is it possible to use a condition like below ?
Thanks for your help.
I tried something like this, but it doesn’t work. Is it possible to use a condition like below ?
Thanks for your help.
<div style="background-image:url('<If image_url exists>{Field image_url}<Else>http://image.jpeg</If>');
background-size:cover;"