Book Image

Drupal 5 Themes

Book Image

Drupal 5 Themes

Overview of this book

Drupal is an award winning open source Content Management System. Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is already on the way to becoming the de facto standard for CMS Websites. Drupal?¢‚Ǩ‚Ñ¢s modular design and structured source code make it both highly flexible and easily extended and modified. Drupal is extremely scalable, making it ideal for both a simple personal website as well as an industrial strength commercial or institutional web presence.Drupal is a model open source project in that it has a large, friendly community of people who contribute to the project in various ways. Drupal is not only free and easy to use, but this community provides on going mutual support.
Table of Contents (14 chapters)
Drupal 5 Themes
Credits
About the Author
About the Reviewer
Preface
Appendix A

Overriding the Default CSS


The various style sheets within the Drupal distro provide all the style definitions needed to format the site, and the various modules contained in the core. The individual theme you employ may also include additional styles that are particular to that specific theme.

Drupal contains a large number of style sheets—around twenty at the last count! While twenty is certainly a large number of style sheets to juggle, with good planning and use of overrides you can avoid the need to have to track down and modify individual style sheets—remember, we always want to avoid modifying the core files, and that includes the core CSS files.

Drupal is designed to deal with the complexity of this multi-layered approach to CSS gracefully. You can even configure the system to compile the various style sheets at run time, into one coherent list of styles—an option that not only eliminates any potential redundancies but also improves the performance of the site.

The order in which the...