Create a region and use it to place a banner - Using the Zen classic theme
I will show you how to create a header region and use it to place a banner or add any content to it. We will use the Zen Classic theme in this tutorial.
Open the zen_classic.info file and add this at the begging or at the end of your Regions section. Note that the name of the region we are using is headertwo, you can name it whatever you like, no spaces underscore and uppercase are fine:
regions[headertwo] = header two
Now open your zen-classic.css style sheet and add the next CSS to the very end of it, the CSS will hold the region we are creating:
.headerContainer {
display: inline;
position: absolute;
margin: 0 0.5em;
}
We need to modify the the page.tpl.php template, open it and add this:
<?php print $headertwo; ?>

Upload your style sheet, your php template and the .info file to your zen classic theme, then go to Admin > Site building > Blocks. Your new region should be there. Create a new block and add some text to it, then assign it to the new Region.



Comments
Thanks! I call that straight forward!
You saved me hours of search. I will use the new header region as an image map, adding a link to the background image.
Post new comment