-
Book Overview & Buying
-
Table Of Contents
Creating Concrete5 Themes
The blocks you can freely place in the content areas of concrete5 are very powerful and have almost no limit regarding their flexibility. This also means that they can display a lot of different things, starting from a simple text output to a video, a complex form, picture galleries, and even data from other systems.
This flexibility also means that certain blocks can have a lot of output including some formatting, which might not fit into your theme's layout. In such a case you can either try to change it by using a CSS file, and if this doesn't work, add or override a new block template. The latter is exactly what we're going to look at in this chapter.
We'll cover the following topics in this chapter:
Overriding block templates to change the output of an existing block
How to use CSS and JavaScript files in a block template
How to put a block template in a package
An example showing you how to change the autonav block into a drop-down navigation
A template...
Change the font size
Change margin width
Change background colour