Hi all, is it possible to access cms content in css files? I have tried something like that: .info { color: "#{ivy.cms.co('/Layouts/color/info')}" } Thank you asked 30.12.2015 at 08:50 Florian Hein... |
Yes I tried your example and it worked for me. The css must be included in the xhtml like this:
For the sample css include above the css file would be located in the project under: webContent/styles/styles.css But to get a correct color value in css you have to remove the " around the expression like this:
answered 30.12.2015 at 09:02 Christian St... ♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 30.12.2015 at 08:50
Seen: 1,991 times
Last updated: 30.12.2015 at 12:14