Drupal

An open source content management platform.

Space after title in Garland node listings

Question: 

How do I get a bit of space between the title and first node in garland node listings?

Answer: 

Edit the node.tpl.php template in the garland theme and add a <br /> before the node title.

    <?php if ($page == 0): ?>
          <br />
          <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2>
    <?php endif; ?>

Subscribe to RSS - Drupal