O'Reilly logo

Drupal 7 Theming Cookbook by Karthik Kumar

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

Creating custom styles with the Stylizer module

While we learned how to apply styles to panel regions and panes earlier in this chapter, this recipe will outline how we can utilize the Stylizer module to easily create and apply our own custom styles. We will create a style using Stylizer and apply it to the Slogan pane which is part of the Frontpage dashboard panel we have been working on thus far in this chapter.

Getting ready

Stylizer comes with the Chaos tools group of modules and is assumed to have been enabled along with its dependencies, chief among which is the Color module. The module exposes a permission named Use the Stylizer UI which is required to add and manage our custom styles.

While we will be using the Frontpage dashboard panel ...

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