Book Image

concrete5 Beginner's Guide

Book Image

concrete5 Beginner's Guide

Overview of this book

Table of Contents (19 chapters)
concrete5
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – a creating customizable theme


Carry out the following steps:

  1. Open main.css from your theme.

  2. There are several rules we have to replace; search for all of them and replace it with the new code.

  3. Look for body and replace it using the following code:

    body {
       /* customize_background */ background-color: #989898; /* customize_background */
       height: 100%;
    }
  4. Search for #header_line_bottom and replace it with these lines:

    #header_line_bottom {
       /* customize_header_line */ background-color: #e64116; /* customize_header_line */
       height: 3px;
    }
  5. Search for #footer_line_top and replace it with the following lines:

    #footer_line_top {
       /* customize_footer_line */ background-color: #e64116; /* customize_footer_line */
       height: 3px;
    }
  6. At the end of the file, insert the following line:

    /* customize_miscellaneous */ /* customize_miscellaneous */

What just happened?

We've added some comments to our CSS file; they don't generate any errors if you validate the file but concrete5 parses them...