How to change order of sidebar for mobile layout

Events happening in the community are now at Drupal community events on www.drupal.org.
arnemaine's picture

Right now I have a layout with a sidebar first/content/sidebar second configuration. They are weighted in that order in the Delta layout configuration settings so that they appear in that order on the page for all layouts.

However for one Delta/Context layout I would like to be able to have the order of the regions change for ONLY the mobile, so that I get content/sidebar first/sidebar second for the stacked mobile, AND still retail the original sidebar first/content/sidebar second for the narrow, normal and wide layouts.

Is there instructions somewhere about how to do this? The weight settings change the order for all layouts, and I'm not sure where else to look.

Comments

Omega offers two settings for

fubhy's picture

Omega offers two settings for weighting / positioning a region. One is for the position in the HTML output, the other is for the visual position as showed on your screen (achieven by pushing / pulling the region with CSS). The first (HTML position) therefore sets where your region is going to be displayed on the mobile version while the latter is used to position it in for larger screens.

Where is changing the positioning process described?

arnemaine's picture

It's easy to find the controls to change the weight of the 3 regions within the content zone, under the "zone and region configuration" settings for my layout.

But I'm not following how/where to change the positioning. Can you point me to the documentation?

Is this done through changing the .info file or copying one of the zone template files into my theme's template folder and renaming/changing it?

Thank you for the help. This all sounds familiar, but I can't seem to locate how to change the positioning.

That part is also in the UI.

fubhy's picture

That part is also in the UI. You need to check "Modify positioning" or something like that in the configuration for the Zone that the regions in question belong to. After you checked that there will be new dropdowns on your region configuration for modifiying the position.

Thanks!

arnemaine's picture

Thank you for the help! Found it! Thanks for the patience.

I cant find the "Modify Positioning" checkbox

benjaminkyta's picture

Hello. Can you please send me a screen shot of the page with the "Modify Positioning" check-box. I seem not to find it

Thanks

I think this is what they're

Neil McKay's picture

I think this is what they're talking about.
Only local images are allowed.

Only local images are allowed.

I'm able to make it work on one subtheme but same settings on another are not responding (not putting the content region above the first sidebar region). Still looking at variables.

This might be helpful: Zone

samwillc's picture

This might be helpful:

Zone 1
sidebar (position=1 weight=1) | content (position=2 weight=3) | sidebar second (position=3 weight=3)

Will give you:

sidebar
content
sidebar second

on a mobile.

Zone 1
sidebar (position=1 weight=1) | content (position=2 weight=0) | sidebar second (position=3 weight=2)

will give you:

content
sidebar
sidebar second

on a mobile.

This might help clear up the difference between weight and position settings.

Sam.

Omega Framework

Group organizers

Group notifications

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