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:

  1. Create a folder that will contain your CSS files (System | New Folder)
  2. Upload your files (System | Upload File) or create them (System | New File)
  3. 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.
  4. 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.