O'Reilly logo

Creating concrete5 Themes by Remo Laubacher

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

Changing the single page layout

Every single page has its own HTML code, which we're not going to change in the beginning. In a lot of situations, it's enough if you can add your own header, footer, and CSS code to change the layout of a single page. But don't worry, we're going to look at a slick way that allows you to change the HTML code as well.

Adding view.php to your theme

In order to style single pages, we have to create a file called view.php. Before we create this file, here's an illustration which shows you the process that a single page uses to show some output:

Adding view.php to your theme

In the left column is the single page, the controller that prepares all the ...

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