I have installed this Theme - but I cannot seem to get the Site name or slogan show up??! Any ideas on how I can do that?
The problem is that it isn't enabled in page.tpl.php. The theme was written for the "of by and for" site and that site has no name in the top bar... just a png logo. If you go into that file you'll see this:
<?php if ($logo) : ?> <div id="site-name"><a href="<?php print url() ?>" title="Home"><img src="<?php print $logo ?>" alt="<?php print $site_name ?> Logo" /></a></div> <?php endif; ?>
I changed it to this:
<?php if ($logo) : ?> <div id="site-name"><a href="<?php print url() ?>" title="Home"><?php print $site_name ?></a></div> <div id="site-slogan"><span><?php print($site_slogan) ?></span></div> <?php endif; ?>
This takes the image out and replaces it with a name and a site-slogan.
You'll then have to go into the style sheet and add stuff for the site name. I did this (in style.css)
#site-name { font-size: 2.95em; letter-spacing: -0.5px; font-family: Georgia, Helvetica, Arial; } #site-name { position: absolute; left: 27px; top: 7px; margin: 0px; padding: 0px; } #site-slogan { font-family: Georgia, Helvetica, Arial; font-size: 1.2em; font-weight: normal; text-decoration: none; color: #efefef } #site-slogan { position: absolute; left: 30px; top: 50px; margin: 0px; padding: 0px; }
Comments
Comment #1
Steve Viscido commentedThe problem is that it isn't enabled in page.tpl.php. The theme was written for the "of by and for" site and that site has no name in the top bar... just a png logo. If you go into that file you'll see this:
I changed it to this:
This takes the image out and replaces it with a name and a site-slogan.
You'll then have to go into the style sheet and add stuff for the site name. I did this (in style.css)