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

Adding CSS files to a theme

There's just one CSS file in our theme so far and it's not even one that we've created on our own. You probably want to add some of your own CSS as well to make your site look a bit more tailor-made.

Most themes have two additional CSS files, one called main.css and the other called typography.css. Let's start with the first one.

Adding main.css

We start by creating a clone of our previous theme bootstrap1 called bootstrap2.

Create a new file called main.css in the root of your theme. This file is going to contain all the CSS rules that you need to implement in your layout. Feel free to add anything you like; here's just one small suggestion—the current layout will take all the space it gets, which makes it look rather ...

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