On a previous post I wrote a guide on how to replace the title of your site with an image. However, due to recent changes in Elgg, that code was no longer working. In this guide, I will give you a step by step guide on how to safely replace the default Elgg title with an image for newer versions.
1. First, we choose an image file.
2. After choosing an image, copy it to YourElggFolder/_graphics
3. Go to YourElggFolder/views/default/page_elements/ Open the file header_contents.php and look for this line of code:
4. Replace that line with this code:
<a href=”<?php echo $vars[‘url’]; ?>”><img src=”<?php echo $vars[‘url’]; ?>_graphics/logo.jpg” width=”270″ height=”105″ /></a>