I'm new to Drupal and to website building. I'm using the premium responsive theme and would like to know how precisely to move regions "First Bottom" through to "Forth Bottom" further up the page to sit under the region "Front Welcome". I understand you have to edit the "page.tpl.php" file and move code pertaining to the region(s) in question to where you want it, which is under the region "Front Welcome". Now I tried to do this but was unsuccessful as I was confused as to what precisely to cut and where to exactly paste it. Would someone please tell how to precisely move this region to where I want it?

Comments

saurabh.dhariwal’s picture

Edit your page.tpl.php file from "sites/all/themes/responsive".

Please cut the section and paste it above the section you require to display and then Clear your drupal cache:

<?php if ($page['footer_first'] || $page['footer_second'] || $page['footer_third'] || $page['footer_fourth']): ?> 
  <div id="bottom" class="container">
  <?php $botomwid = "four"; $bottom = ((bool) $page['footer_first'] + (bool) $page['footer_second'] + (bool) $page['footer_third'] + (bool) $page['footer_fourth']);
    switch ($bottom) { 
      case 1: $botomwid = "sixteen"; break; case 2: $botomwid = "eight"; break;
      case 3: $botomwid = "five"; break; case 4: $botomwid = "four";
    } ?>
    <?php if ($page['footer_first']): ?>
    <div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_first']); ?></div>
    <?php endif; ?>
    <?php if ($page['footer_second']): ?>
    <div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_second']); ?></div>
    <?php endif; ?>
    <?php if ($page['footer_third']): ?>
    <div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_third']); ?></div>
    <?php endif; ?>
    <?php if ($page['footer_fourth']): ?>
    <div class="<?php print $botomwid; ?> columns botblck"><?php print render($page['footer_fourth']); ?></div>
    <?php endif; ?>
    </div>
<?php endif; ?>

Let me know if you face any query/concern regarding this.

Thanks!