Developer FAQ
How to add CSS files to C1 UI?
Answer:
You can use your own CSS files in C1 UI.
To make it visible in the Layout perspective, do the following:
- Create a folder that will contain your CSS files (System | New Folder)
- Upload your files (System | Upload File) or create them (System | New File)
- Now right click on the newly created folder and choose the option “Show in “Layout””. After this, your folder and all its content will be available in the Layout perspective.
- To use your file with a certain template, simply add a link to it within
<head>
element.
Here is the example:
If we created the folder Styles
that contains style.css
<link rel="stylesheet" type="text/css" href="/styles/style.css" />Now you can use style.css for any page based on this template.