Creating a new theme for Plone: a real-world example (Plone 2.1, 2.5)
In this tutorial, Alexander Limi will show you how to take a default Plone site and put a totally different look on it. (Not updated for Plone 3.0)
- Introduction Introduction to the tutorial, and the new theme approach made possible using Plone 2.1 and later versions.
- Toolchain Quick walk-through of the different tools we have at our disposal to create and inspect CSS-based designs.
- Real-world use case For our purposes, we will show how to build a theme from a Photoshop mock-up.
- A proper foundation Before we start adding our CSS styles, we need to create the basic foundation for our theme. This is essentially a blank skeleton product that we can put our images and CSS inside.
- Scaffolding Before we can start writing CSS, we are going to do some structural changes and export the graphical elements.
- Adding CSS styles Finally, it's time to apply our CSS styles. Each step is illustrated by an image showing the progression of the theme.
- Header styles First up, the site header.
- Basic styles Adding the basic body styles.
- Background image styles Adding a background image and locking the width of the design.
- Headline and paragraph styles Adding styles for headlines and paragraphs.
- List styles Making the lists be displayed inline and without bullets.
- Portlet and navigation styles Adding proper styles to the portlets and the navigation tree in particular.
- Re-positioning the navigation Removing redundant margins on the portlets and navigation tree.
- Footer styles Final element, styling the footer.
- Tips for creating your own Plone Themes Some useful tips for making your site designs stand out and work well with future versions of Plone.
All content on one page (useful for printing, presentation mode etc.)
Related content
- DIYPloneStyle: Creating a Custom Style for Plone 2.1 and 2.5
- This tutorial will teach you how DIYPloneStyle can be used as a base for creating a custom style product for Plone 2.1 or Plone 2.5 that adds to a portal a new skin selection and makes use of the new stylesheet and javascript registries.
Very nice guide
Between step 6 and 7 the calendar is removed, but I had some trouble finding out how to do it myself, an explanaiton on how to do that the best way would be great.