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.
I have the theme "Hotel". I've added a new region near the region Slideshow (right side). Region Slideshow I want to have less so that on his side got new region. How do I do that?
The new region called "header_sidebar". Here are hotel.info:
; Core regions
regions[content] = 'Main content'
regions[header] = 'Header'
regions[menu_bar] = 'Menu bar'
regions[slideshow] = 'Slideshow'
regions[header_sidebar] = 'Header sidebar'
regions[feature] = 'Feature'
regions[highlighted] = 'Highlighted'
regions[footer] = 'Footer'
regions[help] = 'Help'
regions[page_top] = 'Page top'
regions[page_bottom] = 'Page bottom'
.......
; Slideshow and Header sidebar settings
settings[slideshow_width] = 18
settings[header_sidebar_width] = 7
and here page.tpl.php
<!-- /#MAIN NAV -->
<?php endif; ?>
<?php if($slideshow = render($page['slideshow'])): ?>
<!-- SLIDESHOW -->
<div id="slideshow-wrapper" class="wrapper <?php isset($slideshow_width) ? print $slideshow_width : print ""; ?>">
<div class="container <?php print $grid; ?>">
<div class="grid-inner clearfix"> <?php print $slideshow; ?> </div>
</div>
</div>
<!-- /#SLIDESHOW -->
<?php endif; ?>
<?php if($header_sidebar = render($page['header_sidebar'])): ?>
<!-- HEADER SIDEBAR -->
<div id="slideshow-wrapper" class="wrapper <?php isset($header_sidebar_width) ? print $header_sidebar_width : print ""; ?>">
<div class="container <?php print $grid; ?>">
<div class="grid-inner clearfix"> <?php print $header_sidebar; ?> </div>
</div>
</div>
<!-- /#HEADER SIDEBAR -->
<?php endif; ?>
<?php if($messages || $page['help']): ?>
How do I set that the regions are next to each other? How do I set to the region in setting assign grid size?
Thank you,
Mark