16 April 2009 at 4:51am
(Last edited: 16 April 2009 5:04am),
I'm trying to use <% require customCSS() %> in my .ss template to add a image selected in the CMS as a background image to my div element. I'm using the following code, but it doesn't seem to be working :
23 April 2009 at 4:29am
Sorry I didn't get back to you I forgot to subscribe and missed your followup :)
Do you actually need to require this? Can you not just put the <style> directly into the template, that should work find. As it is I don't think you will manage to get the image url within the <% require %> context.