Being fairly new to the Omega theme, I'm wondering if it's possible to make the sidebar (let's say sidebar second) appear to the right of the preface, content and postscript zones at once instead of only the content zone. Not that I wouldn't mind hacking templates, but I'd like to know if there is a more sophisticated way in accomplishing this, in particular those preprocessing things.

Any help will be appreciated!

Tobias

CommentFileSizeAuthor
#3 sidebar_whitespace.jpg51.62 KBtte
#1 omega_layout.jpg53.04 KBtte
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tte’s picture

FileSize
53.04 KB

Basically, what I'd like to accomplish is the following layout (attached as screenshot).

JSCSJSCS’s picture

If you put all the blocks you were going to place into the preface and postscript zones and put them into the content zone, and order them accordingly, you will accomplish what you want.

tte’s picture

FileSize
51.62 KB

Thanks for the input.

I thought about this too - however, this makes the sidebar kind of inflexible. For example, if the sidebar column of your preface zone is longer than your other preface columns, the content zone below will be pushed away from the whole preface zone, leading to whitespace. So you would always have to take care that your sidebar columns are not longer the than maximum height of the zones they're in.

Or did I miss something here?

JSCSJSCS’s picture

I guess I could have been more clear. If you but ALL the blocks of content in the content region of the content zone and all your sidebar content in the sidebar second region of the content zone, you would not have any whitespace. Do not use the preface and postcript zones at all. Why bother using more zones than you need?

Remember that Zones cover the screen display from left to right and Regions fill that zone. Regions cannot push up or down into other zones without some CSS and/or javascript. So if you want some content to be side-by-side some other content, they all need to be in the same zone.

tte’s picture

Yes, that would be another option. In this case, though, I'll have to set the width of the different blocks manually instead of relying on the region grid width (e.g., one block per preface region).

Really appreciate your input! Shows some different aspects when working with Omega (so far I'm loving it).

Hitby’s picture

Sorry, just trying to get my head around this. If you put all the blocks you want in the content region then you'll have to specify widths (and floats) to make them align next to each other? Is there no way to make the content zone say, 9 columns with the sidebar second 3 columns next to it.

I'm basically trying to find the best way to achieve what you've posted in #1. I can obviously set the width of the three blocks and then add a margin, then remove the margin from the last block of the three so that they all sit correctly - if the user rearranges the blocks though the css will need to be changed :S

Hitby’s picture

Issue summary: View changes

Typo fix, style changes ;-)