Closed (fixed)
Project:
Skeleton
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 Jul 2012 at 11:36 UTC
Updated:
4 Jan 2014 at 02:24 UTC
Jump to comment: Most recent
Hi people,
Is there any way to get the sidebar region at the right of the main content region?
Thanks
Comments
Comment #1
gtsopour commentedComment #2
gtsopour commentedHello Yannick,
thank you for reporting this.
In order to change the Sidebar position, just make the following 2 changes inside your style.css (skeletontheme/css/style.css):
style.css Line 156
Change from
#wrap #content { float:right; }To
#wrap #content { float:left; }style.css Line 281
Change from
#wrap #sidebar { float:left; }To
#wrap #sidebar { float:right; }Adding style rules inside a local.css
You have always the option to support a local.css file where custom CSS rules (as the above 2) and modifications could be placed. Following this practise, there is no worry if the next theme update will override all your custom changes.
This can be done in 3 simple steps:
This step is important in order to force your template to be informed for the changes you have made in the template files. To do this go to Administer » Site configuration » Performance » Clear cached data
Thanks
George
Comment #3
gtsopour commentedComment #4
Yannick WEBER commentedHi George,
Thanks very much for the sidebar tips.
I've already create a local css so my changes will be permanent even after theme upgrades.