Support Center

How to move the sidebar at the left side

Last Updated: Aug 06, 2013 10:19PM EEST
Social Style product comes with the sidebar printed at the right side. You are able to move the sidebar at the left side just by printing the Drupal core sidebar_first region before tha main content div inside the page.tpl.php template (move the lines 227-235 above the line 179). You can find the page.tpl.php template file inside your theme folder sites/all/themes/socialstyle.

Finally, the page.tpl.php should be like this:
<!-- #sidebar -->
<?php if ($page['sidebar_first']):?>
<div class="grid_4">
    <div id="sidebar" class="clearfix">
    <?php print render($page['sidebar_first']); ?>
<?php endif; ?>
<!-- EOF: #sidebar -->

<?php if ($page['sidebar_first']) { ?>

​In case this article leaves any of your questions or concerns unanswered, please feel welcome to email us or post a public question.

​More than (just) Themes

Contact Us

[email protected]
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found