logo instead of site name

Permalink Browser Info Environment
Hi guys, how can I place a logo instead of the the site name on my site (looked a bit around in forums - think to change the header.php - but don't know exactly how...)

Regards

Torsten

Type: Discussion
Status: New
tsilbermann
View Replies:
tsilbermann replied on at Permalink Reply
tsilbermann
i changed code in header.php line 36 to
<span id="logo"><a href="<?php echo DIR_REL ?>/"><img src="<?php echo $this->getThemePath()?>/images/logo.png" alt="logo" /></a></span>

and removed this code

$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?>

that works fine but on IE7 reloading the homepage (sometimes others as well) the logo is not visible... any idea how to solve this?

Regards

Torsten
c5mix replied on at Permalink Reply
c5mix
I just posted a response to your support post (please respond there instead so we can keep everything in one thread). But, instead of modifying the header.php file you could have just added your logo to the My_Site_Name block in the global scrapbook:http://www.concrete5.org/documentation/how-tos/editors/edit-or-remo...
Damir replied on at Permalink Reply 1 Attachment
Damir
Hello, Chris!

I have the same question and want to set up the logo as it is described by the link you've provided.
I'm on C5 5.6 and I can't see any stack option under Global Stacks. Should I create it manually?

Thank you in advance!

Damir
Damir replied on at Permalink Reply
Damir
It Works. I created the 'Site Name' stack and added an image. The text in header replaced with a logo image.

thanks
rantanplan41 replied on at Permalink Reply
rantanplan41
Hi!

I managed to use my Company logo (Site Name Stack), however I can't centralize it... It keep positioning the logo at the bottom of the "black square" and not at the center (vertically speaking).

Any ideas?
c5mix replied on at Permalink Reply
c5mix
Can you post a link to your site so I can see what your talking about. Thanks.
rantanplan41 replied on at Permalink Reply
rantanplan41
I have just find the answer! I changed the main.css file in the # header logo a and it worked!

Thanks!
c5mix replied on at Permalink Reply
c5mix
Ok great! Let me know if you need anything else.

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.