Chapter 2. Theming Concepts

In this chapter, we will cover the following topics:

  • Understanding structural and skinning CSS
  • Installing themes
  • Customizing default theme styles
  • Adjusting the font and size throughout the web application
  • Simple ways to create a new theme
  • Stateless and stateful theme switchers
  • Integrating Font Awesome with PrimeFaces

Introduction

In this chapter, readers will be introduced to PrimeFaces themes and the concepts involved. Later on, we will build on these concepts to learn theming of the PrimeFaces components. The theming concept used in PrimeFaces is similar to the jQuery ThemeRoller CSS Framework (http://jqueryui.com/themeroller). All PrimeFaces components are designed to allow a developer to integrate them seamlessly into the ...

Get PrimeFaces Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.