Could we made the title a link to the base path? This would mean that the user could click on the title to bring them back to the front page.

In order to make that change, you'd have to change one thing. On line 15 of page.tpl.php, we'd have to change:

<div id="site-name"><?php print $site_name; ?></div>

... to ...

<div id="site-name">
    <a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a>
</div>
CommentFileSizeAuthor
#3 antique_modern_titlelink.patch1.33 KBrobloach

Comments

merlinofchaos’s picture

It'll probably require some CSS adjustment to get the title back to its original state since we don't want it to really appear different. I'm pretty much ok with doing something like this, but don't have a lot of time. If you want to fiddle with the CSS and post what you did that could be helpful.

robloach’s picture

Got it working with the CSS fix:

<div id="site-name">
<a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a>
</div>

In style.css:

#head #site-name a {
	float: left;
 	font-size: 30px;
	color: #F0EBE7;
	padding: 35px 0px 0px 30px;
  width: 700px; 
}

Note the 'a' added after #head #site-name. This will make it so that the title is a link back to Home. To see it in action, check out my demonstration site.

If you would rather I submit a patch, I can do that.

robloach’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

I created a patch to make the title a link to the front page, you'll find it attached. Also, feel free to test it out.

robloach’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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