Active
Project:
AdaptiveTheme
Version:
7.x-3.1
Component:
Theme Settings
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 May 2013 at 15:50 UTC
Updated:
13 May 2013 at 07:23 UTC
I am trying to put the sidebar top of the content on mobile layouts like tablet or smalltouch.
As default AT Core provides a similar layout which is One Column Stacked. I need to have the sidebar on top of the content instead of under the content.
Current desktop layout:
--------------------------
| | |
| | |
| A | content |
| | |
| | |
--------------------------
Mobile layout wanted to be:
----------------
| A (sidebar) |
----------------
| |
| content |
| |
----------------
Thanks in advance for any help or clue.
Comments
Comment #1
aliyakhan commentedCreate a new layout so that you can set these preferences on you own.
You'll set it like:
if (!empty($css_id)) { print "id=\"$css_id\""; }>print $content['sidebar'];print $content['contentmain'];Best,
AK