Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Professional Plone 4 Development

You're reading from   Professional Plone 4 Development Build robust, content-centric web applications with Plone 4.

Arrow left icon
Product type Paperback
Published in Aug 2011
Publisher Packt
ISBN-13 9781849514422
Length 516 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Chapter 8. Creating a Custom Theme

Plone 4 ships with a default theme called Sunburst. This is designed to be clean, color neutral, and minimalist, and as such can be a good starting point for intranets and websites where branding is a secondary concern. Most projects, however, end up needing to customize the look and feel to meet organizational branding requirements.

In this chapter, we will demonstrate how to:

  • Create a custom theme using the Diazo theming engine and plone.app.theming
  • Customize templates and views
  • Override a few of Plone's layout policies and visual elements

Background

In Plone 3, theming a Plone site involved selectively overriding page templates and resources such as stylesheets and images to modify the markup, styles, and images making up Plone's public face. This approach to theming is still possible in Plone 4, but it suffers from a fundamental problem—the more complex Plone's internals become, the harder it is to find all the templates and...

You have been reading a chapter from
Professional Plone 4 Development
Published in: Aug 2011
Publisher: Packt
ISBN-13: 9781849514422
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image