Replace logo text with a logo image

Permalink Browser Info Environment
Is there a way to replace the logo text with a logo image? This would preferably allow for the logo image to display on every page by default, like the text currently does.

There does not appear to be a way to do this in the theme administration or page properties, so I'm assuming it will require editing a CSS file.

Any quick pointer would be appreciated. I'll have a look in the mean time.

Thanks!

Type: Discussion
Status: New
maranatha
View Replies:
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Sorry for the delay in response. I have just released 1.5, which now allows you to replace your own content with the default logo. The downside to this is that it will only apply to that specific page.

If you want to apply the same logo to every page by default, you will need to edit any page type(s) you will be using. Look for the following code:
<div class="one-third column header">
      <?php 
         $logo = new Area('Logo');
         if ($logo->getTotalBlocksInArea($c) == 0 && !$c->isEditMode()) {   
         ?>
      <h1 class="logo">
              <a href="<?php  echo DIR_REL?>/" title="<?php  echo SITE?>"><?php  
            $block = Block::getByName('My_Site_Name');  
            if( $block && $block->bID ) $block->display();   
            else echo SITE;
          ?></a>
        </h1>
      <?php } else {  $logo->display($c); } ?>
      <br class="clear" />
    </div>

If you want to use an image as your logo, you will want to replace it with this:
<div style="one-third column header">
<a href="<?php   echo DIR_REL?>/" title="<?php   echo SITE?>">
<img src="http://www.yoursite.com/directory/image.png" title="logo" alt="logo" /></a>
</div>


I hope this helps.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.