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