Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Creating Concrete5 Themes
  • Table Of Contents Toc
Creating Concrete5 Themes

Creating Concrete5 Themes

4.3 (3)
close
close
Creating Concrete5 Themes

Creating Concrete5 Themes

4.3 (3)

Overview of this book

Creating a concrete5 theme isn't complicated if there’s already a HTML document. There are only very few PHP functions you’ll have to add, but those are powerful and give you a lot of freedom. As you’ll learn to create mobile ready themes, you’ll start to see that there’s almost no limit in what you can do."Creating Concrete5 Themes" is a practical, hands-on guide that provides you with a number of examples that will teach you how to create powerful concrete5 themes, change the look of content block elements, and even make your site ready for mobile devices."Creating Concrete5 Themes" starts with a few words about the editing concept and architecture of concrete5 and then continues with the creation of a basic theme which gets extended with more and more elements until the theme is mobile ready.You will learn where to find the information necessary to get your own concrete5 site and then get a quick introduction to understand the idea of the in-site editing concept. We’ll then create a theme which is extended with features and more details as we progress. You’ll also see some examples to show you the process of overriding elements from the core without losing the ability to upgrade concrete5 in the future. Once we’ve customized every element in concrete5 to build a complete theme, we’ll have a look at responsive techniques to make your site ready for small screen devices such as mobile phones and tablets.  
Table of Contents (13 chapters)
close
close
Creating concrete5 Themes
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
1
Index

Chapter 5. Styling the Block Output

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...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Creating Concrete5 Themes
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon