Styling Guides and Diagrams of Zones/Regions

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

The Omega theme itself starts in a hierarchy beginning with #page and then follows with containers, that hold zones, that then hold regions.

Each container and region is named for easy reference.

The CSS is structured like this:

#page

--#section-header
    #zone-user-wrapper
      #zone-user
        #region-user-first
        #region-user-second

    #zone-branding-wrapper
      #zone-branding
        #region-branding

    #zone-menu-wrapper
      #zone-menu
        #region-menu

    #zone-header-wrapper
      #zone-header
        #region-header-first
        #region-header-second

--#section-content
    #zone-preface-wrapper
      #zone-preface
        #region-preface-first
        #region-preface-second
        #region-preface-third

    #zone-content-wrapper
      #zone-content
        #breadcrumb
        #messages
        #region-content
        #region-sidebar-first
        #region-sidebar-second

    #zone-postscript-wrapper
      #zone-postscript
        #region-postscript-first
        #region-postscript-second
        #region-postscript-third
        #region-postscript-fourth

--#section-footer
    #zone-footer-wrapper
      #zone-footer
        #region-footer-first
        #region-footer-second

You can download the global.css and use it as a visual guide when creating your own theme.

Here are visual representations of the theme structure:

  1. The Sections:
    Only local images are allowed.
  2. Only local images are allowed.
  3. Only local images are allowed.
  4. Only local images are allowed.
  5. Only local images are allowed.

Comments

Very useful

iainH's picture

Thanks! It's still true that a picture is worth a thousand words. ...

I'm glad it helped.

bhosmer's picture

I'm glad it helped.

Excellent

eubielicious's picture

Thank you so much for this - I need to be able to see an overview and this does the job very well. A great reference for theming!

Euan

Very useful! Thanks! I've

zigmoo's picture

Very useful! Thanks!

I've seen your pics used at a nice tutorial write-up, which also has a link to a cool color-coded version of your CSS structure.

moo

Awesome! I'm glad it helped.

bhosmer's picture

Awesome! I'm glad it helped. I need to update it for 3.x

this is absolutely wonderful

justluvgod's picture

This document is super awesome!!!!! I have progressed more in the last hour using this as I have in a week using firebug (and I like using firebug).

Thanks for making this so super easy.

Ahhh amazing! this is what I

Duarte Cancela's picture

Ahhh amazing! this is what I was looking for

Thanks

Omega Framework

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week