Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Hello,
Yes, it is possible to have header region in Amity Island to display blocks.
One of the ways for doing that can be as follows,
1. Add the following code in your .info file
regions[header] = Header
2. Add the following code in your page.tpl.php inside the header-wrapper div and below the code <h2><?php print $site_slogan ?></h2> </div> <?php } ?> </div> <?php } ?>
Comments
Comment #1
shruti.sheth commentedHello,
Yes, it is possible to have header region in Amity Island to display blocks.
One of the ways for doing that can be as follows,
1. Add the following code in your .info file
2. Add the following code in your page.tpl.php inside the header-wrapper div and below the code
<h2><?php print $site_slogan ?></h2> </div> <?php } ?> </div> <?php } ?>3. Add the following code in your style.css
The blocks to be displayed in this region can be enabled in header region in your admin/build/block.
Hope this helps!
Thanks,
Shruti.