Display Page Title on contact, blog or views pages. Change Page Title to Heading 1.

Comments

Status:Active» Fixed

I made and just committed the following changes at page.tpl.php, node.tpl.php and style.css files.

page.tlp.php

Add before $tabs rendering the following code

<?php print render($title_prefix); ?>
<?php if ($title): ?>
<h1 class="title"><?php print $title ?></h1>
<?php endif; ?>
<?php print render($title_suffix); ?>

node.tpl.php

From

<?php print render($title_prefix); ?>
<?php if (!$page) { ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php } else { ?>
<h2><?php print $title; ?></h2>
<?php ?>
<?php print render($title_suffix); ?>

To
<?php print render($title_prefix); ?>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php endif; ?>
<?php print render($title_suffix); ?>

style.css

Remove

.node h2 { border-bottom:1px dotted #84a1af; margin:0 0 20px 0; }

Add
h1.title { border-bottom:1px dotted #84a1af; }

These changes will be included in next Bluemasters release 7.x-1.3

Thanks
/George

Automatically closed -- issue fixed for 2 weeks with no activity.