Forum Discussion
JasonL
13 years agoLithium Alumni (Retired)
Hi Chris,
its me :smileyhappy:
Might be possible to use javascript document.url to switch css, however i seriously discourage this.
Studio may be restrictive but it does serve very important role of version control. Every single change in CSS is tracked by version number with comments and we can roll-back to last working copy as needed.
By referring to external CSS files, rolling back to specific version is no longer meaningful as there's other external CSS files that needs to be rolled back. This is in addition to the current issue you faced, both Staging/Production are pointing to the same set of external CSS files. Any changes will impact both Staging/Production.
Best practice is to limit the number of external CSS file references.