I'm using a css file that uses channel entries tags so clients can update a background-image. However, I have embed variables setup on my template that I want to pass into the css file, but it doesn't seem to work. This is what I'm trying to do:
{exp:channel:entries channel="contact"}
.{embed:body_class} #wrapper { background-image: url("{contact_header_photo:1920x425}"); }
{/exp:channel:entries}
where, in theory, .{embed:body_class}
would output .contact
Anyone have any suggestions?