O'Reilly logo

CMS Made Simple 1.6 by Sofia Hauschildt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action—creating the stylesheet

Normally, in static HTML pages, you create a CSS file and attach it to your template using an HTML <link> tag. In CMS Made Simple, stylesheets are saved in the database, and therefore cannot be linked directly. Let us see how stylesheets can be created and attached to the templates.

  1. In the admin console, click on Layout | Stylesheets.
  2. Click the Add a Stylesheet link at the bottom of the list.
  3. Type in the name of the new stylesheet and enter the CSS code in the Content field, as shown in the following screenshot:
    Time for action—creating the stylesheet
  4. Click on Submit. The new stylesheet is added to the list of stylesheets.
  5. To attach the new stylesheet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required