It would be nice to have a way to print the name of the site on the masthead. If the icon is not used, the masthead is blank, and would be a prime place for the name of the site.
It would be nice to have a way to print the name of the site on the masthead. If the icon is not used, the masthead is blank, and would be a prime place for the name of the site.
Comments
Comment #1
wtmcwilliams commentedI modified "page.tpl.php" like this to show the Title in the Masthead.
Insert this:
if ($site_name) :print($site_name)endif;Between these two snippets of code in the header:
if ($logo) :print $logo" alt="print $site_name" />endif;if (module_exist('banner')) :print banner_display()endif;Your code should look like this when your done:
if ($logo) :print $logo" alt="print $site_name" />endif;if ($site_name) :print($site_name)endif;if (module_exist('banner')) :print banner_display()endif;I am not a programmer, so it may not be the correct way to do it, but it works on my websites!! :)
If you want to see it in action before you modify it, you can see my site www.autoinsuranceadvice.com or www.wtmcwilliams.com. Use the view page source to see the actual code.
Ciao,
WT
Comment #2
quux commented... but it's the same as wtmcwilliams wrote; a couple of simple changes to page.tpl.php. Except I also decided to show the site-slogan (the second 'quuxo added' block).
To make the slogan more visible, I made a small change to line 185 of style.css (the bolded part is what I added).
Thanks for a great theme,
quuxo (http://adminfoo.net)
Comment #3
quux commentedoops. I accidentally changed the title of this issue ... changing back.
Comment #4
Mad Maks commentedi assume the answers helped you with your problem