Posted by social_media on September 28, 2012 at 4:26am
Hi,
In the content area I would like sidebar first to span the preface, content and postscript zones. I have updated the various regions so that they all begin in column 4 and moved sidebar first to the preface zone but the complete sidebar is displayed before the content zone.
Is it possible to do this with the Omega theme?
It seems a neat way of doing this would be either to create additional sections or to have the ability to put css wrappers around a group zones to make it easier to create more complicated layouts.
Thanks in advance for any help?
Robert
Comments
Is it possible? Yes.
With Omega it's very easy to place content, sidebars or otherwise pretty much anywhere you like. What problem are you actually having? A sketch would help.
Q
Obviously quantos is right we
Obviously quantos is right we need to understand what you are trying to achieve.
But, have you added extra css classes to the sidebar and tried to move it into position by altering the css?
It's not possible out of the
It's not possible out of the box with the current Omega theme, but I've seen it done a couple of different ways.
Take a look here: http://groups.drupal.org/node/195038
With this solution, you'd simply have the sidebar span the content region and break up the content region itself into nested regions.
Outline of layout
Hi, thanks for you comments.
The header and footer sections in the standard layout are OK. I would like to have the content section laid out as follows:
|-----------------------------------------------------|| | Preface Zone |
| |---------------------------------|
| Left Side Bar | Content Zone |
| |---------------------------------|
| | Postscript Zone |
|-----------------------------------------------------|
| Custom Zone |
|-----------------------------------------------------|
There's probably several ways
There's probably several ways you could do that - depending on what you want to place in those zones, for example just use blocks, views or panels instead of Omega regions. If that's not what you're looking for you may have to go down a more custom route as mentioned by adaptordie.
Hi social_media, Nested
Hi social_media,
Nested regions are a bit of a mission.
The zones are full width, i.e. 12,16 or 24.
Regions sit within the zones.
You could to do something like this:
Content zone - 12col
- Region sidebar first - 4col - weight=0
- Region cotent - 8col - weight=1
Custom zone - 12col
Now you will have a left sidebar and a content zone. That's as far as I go with the theme appearance settings for the content zone.
Then I use display suite to customize the content zone and you can chop it up any way you like.
If you were going to use your layout, you would be adding blocks to the regions within preface zone, content zone and postscript zone. What's the difference between that and just adding 3 blocks one under the other straight into content region like in my example?
I have never needed nested regions and can achieve any layout I want, but each to their own! Good luck :)
Sam.
I probably would not set out
I probably would not set out to do it this way but because I am the curious type so I set up 5 regions in my content zone and set them to have the following widths ( 3, 9, 9, 9, 12 ). Floated the last four to the right (probably only needed to do the middle three) and achieved the desired layout. As I am only new to Drupal, I am not sure what problems this might cause. Cheers.