I am new in umbraco.
I am building a website which has a lot of a inline css styles (from backoffice, a customer wants to take control of the colors, backgrounds etc, but doesnt want to do that from stylesheet file).
How can I render all of inline css to a one or maybe more files to use it with client dependency framework? I dont like inline css so much :) Any Ideas?
You could just add your inline CSS in to an array and store it in the ApplicationContext.ApplicationCache.RequestCache then at the end of your page then you can recall the array and add everything at the bottom of the page.
CDF and dynamic css
I am new in umbraco. I am building a website which has a lot of a inline css styles (from backoffice, a customer wants to take control of the colors, backgrounds etc, but doesnt want to do that from stylesheet file). How can I render all of inline css to a one or maybe more files to use it with client dependency framework? I dont like inline css so much :) Any Ideas?
Yikes. That would be a challenge I think. Why can't your inline CSS stay in style attributes on the elements?
A few thoughts.
ApplicationContext.ApplicationCache.RequestCache
then at the end of your page then you can recall the array and add everything at the bottom of the page.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.