How do I change the logo?

Permalink 2 users found helpful
I would like to change the logo from the text to a graphic. I've successfully changed the block and inserted a graphic, and it looks like I want until I log out. How do I get the logo to remain for public viewing?

irsah replied on at Permalink Reply
Hai sebbhman,

For c5 themes, it should be in dashboard > stacks > global area > click site_name (or my_site_name) > new window > click approve tab. If you've edit either in the global area or the front end (page), needs approval here in this area before it can be seen publicly.

Also check permissions if you've turn on advance permissions at > system & settings > permissions > task permissions/user permissions or at the page itself click edit > permissions.

Hope it helps.
sbbehrman replied on at Permalink Reply
Wow. That's incredibly easy. I was trying all kinds of changes to the header.php file, and with my ignorance was making a mess. Thanks so much:)
irsah replied on at Permalink Reply
You're welcome, glad to help out.
softfusionch replied on at Permalink Reply
Good morning Irsah

I am searching since two days how to change the logo in my test installation without any success.
I replaced in the dashboard, stacks, site name with my softfusion logo image and thought, it would be displayed - nothing.

I am with the latest version of c5 working -

Can you please please help me to understand what I where have to do? I would love to switch from Joomla! to C5 and start with my own site, which I urgently need to actualize.

I checked the forums, was searching in google, tried to find some of the mentioned .php files to edit. Thanks for any help in this case :)

Thanks a lot,
ronyDdeveloper replied on at Permalink Reply
You are using simpleclean theme. As per the theme structure, you need to edit your themes header.php file. Navigate to below folder ROOT/packages/simplyclean/themes/simplyclean/includes/header.php and find the line:
<a class="Logo_Title" href="<?php  echo DIR_REL?>/"><?php  
$block = Block::getByName('My_Site_Name');  
if( $block && $block->bID ) $block->display();   
else echo SITE;

Then replace it with
<a class="Logo_Title" href="<?php  echo DIR_REL?>/"><img src="<?php echo $this->getThemePath()?>/img/logo.png" width="auto" height="auto" border="0" alt="<?php  echo SITE?>" title="<?php  echo SITE?>" /></a>

irsah replied on at Permalink Reply
I believe Rony is on the mark. It is much more simplified than actually getting the stacks (globals) in order (and the right Area names). but once you get the hang of it, it should be pretty much easy.