I was wondering if it is possible to specify a nodeid in an external css file - I have tried the following but I'm guessing it doesn't work as ti doesn't know which doctype to use?
Most people tend to keep css related images (those that are used for layouting) in a /images folder, not stored on doc level or in media section.
If you still want it to be dynamic, put this snippet in your template (using inline styling), so it gets *replaced* by the document's value at runtime.
Thanks, I do usually keep my css images in a media section but for 3 particular banners on my website, I need them to be backgrounds and they are likely to change regularly hence my needing to specify a nodeid.
Could you possibly post the snippet that you refer to above?
Specify a node id in external css
Hi,
I was wondering if it is possible to specify a nodeid in an external css file - I have tried the following but I'm guessing it doesn't work as ti doesn't know which doctype to use?
Thanks,
Rachel
hi Rachel,
Most people tend to keep css related images (those that are used for layouting) in a /images folder, not stored on doc level or in media section.
If you still want it to be dynamic, put this snippet in your template (using inline styling), so it gets *replaced* by the document's value at runtime.
Cheers,
/Dirk
Thanks, I do usually keep my css images in a media section but for 3 particular banners on my website, I need them to be backgrounds and they are likely to change regularly hence my needing to specify a nodeid.
Could you possibly post the snippet that you refer to above?
Many thanks,
Rachel
Rachel,
Just put your code in template using syntax:
Hope this helps.
Regards,
/Dirk
Ah, sorry, I see what you mean now! Thanks very much.
Rachel
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.