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 – creating the concrete5 theme header


Carry out the following steps:

  1. In the themes directory, create a new directory named c5book, but any other name is fine as long as you're using letters and underscores and avoid the special characters available on your keyboard.

  2. Create a thumbnail 120 x 90 pixels of your site and save it as thumbnail.png within your theme directory.

  3. Create a file named description.txt in the new directory by using a text editor, such as Notepad.

  4. Open the file and enter the name of the theme in the first line and the description on the second line. Its content should look like the following:

    c5book Theme
    Concrete5 Theme by Remo Laubacher
  5. Save and close the file. You should have a structure like the one shown in the following screenshot:

  6. As we're going to create several page layouts sharing the same header and footer, let's create a directory named elements for these common files.

  7. Within elements, create a file named header.php and insert all the preceding HTML...