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:
Create an empty .css file under the /sites/all/themes/skeletontheme/css/ path and name it as you wish. local.css is always a good choice.
Edit the skeletontheme.info file and add a line like stylesheets[all][] = css/local.css after stylesheets[all][] = color/colors.css
Clear all cached data.
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
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.