By nick2price on
Hey, starting to get the hang of themeing which is a relief! I am turning my html page into a zen sub theme. So far, everything is going good. I was wondering about one thing though. My whole header consist of the following code.
<div id="header">
<?php if ($logo): ?>
<div id="logo">
<a href="./"><img src="../images/logo.png" alt="Your Company Logo" width="241" height="85" /></a><span id="logo-text"><a href="./"></a></span>
</div><!-- logo -->
<?php endif; ?>
<?php if ($page['navigation'] || $main_menu): ?>
<div id="menu">
<?php print theme('links__system_main_menu', array(
'links' => $main_menu,
'attributes' => array(
'id' => 'main-menu',
'class' => array('links', 'inline', 'clearfix'),
),
'heading' => array(
'text' => t('Main menu'),
'level' => 'h2',
'class' => array('element-invisible'),
),
)); ?>
<?php print render($page['navigation']); ?>
</div><!--/#navigation -->
<?php endif; ?>
<?php print render($page['header']); ?>
<div id="headerimage">
<div id="icons">
<a href="./" ><img src="../images/icon_home.gif" alt="Home" width="13" height="13" id="home" /></a>
<a href="./"><img src="../images/icon_sitemap.gif" alt="Sitemap" width="13" height="13" id="sitemap" /></a>
<a href="./"><img src="../images/icon_contact.gif" alt="Contact" width="13" height="13" id="contact" /></a>
</div><!-- icons -->
<div id="slogan">Delivering simplicity through realty</div><!-- /#slogan -->
</div> <!-- /#headerimage -->
</div><!-- /#header -->So I have my logo and navigation in the header bar. Directly underneath this, I basically have a second header, which is the div headerimage. Now I was thinking it may be better to put this div inside the highlighted block. How would I do this? Or is it ok to just leave it how it is?
thanks