hi,

Am working on my website www.fullforcefitness.com.au, which is for my outdoor health and fitness business...
anyway, trouble is this:
I have two nodes promoted to the front page, nodes are set with h1 for the title and the h1 displays correctly as coded for in my style.css. When these nodes are promoted their headers display as part of the node itself rather than a seperate element and that means they essentially do not display as headers just as usual sized and styled text, which i dont want.
I presume as the trouble is only with promoted nodes that that is where the problem lies, using firebug i cannot see where the problem is other than that there is nothing set for the title, which leads me to presume that the problem may be in my page.tpl.phph file, the code for which i have attached.

<div  id="node-<?php print $node->nid; ?>" class="node<?php print ($sticky) ? " sticky" : ""; ?><?php if (!$status) { print " node-unpublished"; } ?>
    <?php if ($picture) {
      print $picture;
    }?>
    <?php if ($page == 0) { ?><h1 class="title"><?php print $title?></h1><?php }; ?>
    <div class="content"><?php print $content?></div>
    <?php if ($links) { ?><div class="links">&raquo; <?php print $links?></div><?php }; ?>
  </div>

any help on the issue would be greatly appreciated as would feedback on the website - I am by no stretch of the imagination a programmer or designer, just a business owner/personal trainer - so am doing the best to learn as i go!

thanks in advance,

Tom

Comments

fullforce’s picture

woops, meant node.tpl.php not page.tpl.php, sorry!