Styling Guides and Diagrams of Zones/Regions

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:
Login or register to post comments

Very useful

iainhouston's picture
iainhouston - Tue, 2011-07-05 08:57

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


I'm glad it helped.

bhosmer's picture
bhosmer - Wed, 2011-07-06 18:41

I'm glad it helped.


Excellent

eubielicious's picture
eubielicious - Wed, 2011-07-06 19:01

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 - Thu, 2011-09-01 11:12

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
bhosmer - Thu, 2011-09-01 11:16

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


this is absolutely wonderful

justluvgod - Wed, 2011-09-07 14:29

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

DuartmaN's picture
DuartmaN - Wed, 2011-11-02 18:45

Ahhh amazing! this is what I was looking for

Thanks