How do I add a logo rather than a site name?

Permalink Browser Info Environment
I tried changing the stack block but no change.

Thanks!

Type: Discussion
Status: New
turnorange
View Replies:
raydk replied on at Permalink Reply
raydk
Hey you have to change the following code in
packages/theme_boldy/themes/boldy/elements/header.php

<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>


And replace it with this code to support the new stack type in 5.5

<?php $stack = Stack::getByName('Site Name');?>
<a href="<?php echo DIR_REL?>/" title="<?php echo SITE?>"><?php if($stack) $stack->display(); else echo SITE;?></a>


Remember to create a stack name Site Name (or whatever you want to call it).

You may have to adjust #logo in the style.css file (located in the same folder) to move the logo to the correct place in the header.

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.