Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi people,
Is there any way to get the sidebar region at the right of the main content region?
Thanks
Comments
Comment #1
gtsopour CreditAttribution: gtsopour commentedComment #2
gtsopour CreditAttribution: 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 CreditAttribution: gtsopour commentedComment #4
Yannick WEBER CreditAttribution: 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.