This content has been marked as final. Show 3 replies
Yes you can have different css files for each application in the same workspace. If you need to you can even base it on page template.
All you do is create the two different css files and save it either in the database or even better on the servers file system. For the first application go through all your page templates and include a <link> that points to one of your css files. For the second application report but refer it to the second css file.
Hopefully thats of some use.
Thank you , Alistair. This sounds like a solution, but I need a bit more help. How exactly do I go about including a <link> that points to one of my css files? Where do I put it? What is the syntax?
If you upload your file to Shared Components >> Cascading Style Sheetst then:
edit your page template in the header section and just before +*</head>*+ tag add :
<link rel="stylesheet" src="#WORKSPACE_IMAGES#MY_FILE.css" type="text/css" />And that will be applied for all pages that have the same Page Template.
You can edit a page and put this in the header section to be applied only for a that page:
If the file is on your web server then replace #WORKSPACE_IMAGES# with #IMAGE_PREFIX#
<style> <link rel="stylesheet" src="#WORKSPACE_IMAGES#MY_FILE.css" type="text/css" /> <style>
This should be helpful to you:
If you believe that my answer is correct or helpful to you, then please mark it as helpful or correct...