I have the following HTML with Tailwind classes to display a full screen header image in Statamic CMS:
<header class="w-full h-full bg-[url('/img/headers/robert-patient-blue-overlay.png')] bg-cover bg-center flex justify-center items-center">...</header>
and have been trying to replace /img/headers/robert-patient-blue-overlay.png
with {{ header_image }}
so that is can be edited in the CMS, but I'm not sure if it's possible.
using [url('"{{ header_image }}"')]
doesn't work, nor does [url("{{ header_image }}")]
or [url({{ header_image }})]
... is it just not doable?
Thanks!