Theming Drupal Views

Theming Drupal Views in a Zen Subtheme

Take complete control of design and flow of information using Drupal Views and Zen Subthemes. Changing the appearance is crucial when changing a background and body text colors of a site that conflict with the default views styling. CSS properties can be added to a high level tag that affects many areas as well as to very finite areas of just one View.

When the views module outputs a view it wraps it in a div tag with class information. Zen uses views-styles.css in the CSS directory of your subtheme to style views.

One key element in styling views is that when a view is created you must use on lowercase letters and underscores, however when creating the class tag in the CSS document you must use hyphens in place of underscores.Read full article...


Syndicate content

Try2Stop.Us | Contact Us | Log In | Try2Stop.Us © 2011