Logo in Header help

I've just started using C5 for a new site:


I'd like to replace the site name with a logo. I've checked the forums and thought I could just go to the Scrapbook, delete the site name, and add an image file to the content box. I tried that but it did not update on any of the pages. Do I need to edit the header php file instead?

Previous forum posts said the scrapbook should work but I'm stumped. Other than that I've used a bunch of add-ons to get more functionality (image gallery, pop-up video, and blogga coming soon) and everything worked like a charm.

Any help would be appreciated.



View Replies:
Pritam replied on at Permalink Reply
Hi Joe,

Another approach that I prefer is to first place the logo image within the \images dir of your theme, then edit the header.php file of your theme

Replace the below code that you shall see in the header.php file of your theme

<!--<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');  
if( $block && $block->bID ) $block->display();   
else echo SITE;?></a><!----></h1>-->


<div id="topLogo"><a href="<?php echo DIR_REL?>/"><img src="<?php echo $this->getThemePath()?>/images/mylogo.jpg" width="100px" height="100px" alt="My company Logo" /></a></div>
maddox replied on at Permalink Reply
Hey Joe.

If you are not a techy person rewriting code might be a pain. Here is one place where you can go to remove the "Site Name"...
Log-on to Dashboard -> Sitewide Settings -> Then the very first block that you see "top left" named "SITE NAME"... Leave it blank.
That will remove the generated site name from your web pages. As far as replacing it with a logo, I think it has to do with the properties of the theme you use.
Unless you want to "hard code it". If that is the case then disregard my post and go with Pritam's advise.

Best of luck bud.