To use different CSS files for the public site and edit mode, you could create a user control which wraps CssFileLink
control. It is provided by Sitefinity and displays a link to a CSS file in the head section of the page. The point is to set dynamically FileName
property of the CssFileLink
depending on the current mode of the page. Additionally, your user control should provide two properties (for example PublicPageFileName
) for getting/setting the path to the different CSS files.
For your convenience I have attached a simple example. To test the control, you need just to upload it through Sitefinity interface.
Do let us know if this helps.
All the best,
the Telerik team