The ELGG you see at the top of a page is just an image.
Now make sure a copy of your new logo is placed into the graphic folder/directory of your theme folder/directory.
Go to your theme directory/folder then views > default > page_element and open the header_contents.php file with your text editor you will find these lines..
<div id="site_logo">
<a href="<?php echo $vars['url']; ?>">
<img src="<?php echo $vars['url']; ?>mod/theme_yourchoiceof name/graphics/example-theme-logo.gif" border="0" />
</a>
</div>
Just change example-theme-logo.gif to whatever your logo image is.
Save the file.
Click on Administration > Tool Administration and adjust the position of one of the plugins - NOT your theme one which should be at the bottom of the list.
Click Dashboard and refresh the page and you should see your logo sitting at the top of the page there.
Now it is likely that it will over flow the page content below it. So what you need to do then is to go to your theme folder/directory > views > default and open css.php with your text editor
Find the following;
#layout_canvas {
margin:0 0 20px 0;
padding:20px;
min-height: 360px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
background: white;
border-bottom:1px solid #cccccc;
border-right:1px solid #cccccc;
}
Now change the margin settings to move the position of your graphic and remember after every change to save the file.
Click on Administration > Tool Administration and adjust the position of one of the plugins - NOT your theme one which should be at the bottom of the list.
Click Dashboard and refresh the page and you should see your logo sitting in its new position at the top of the page.
As an example the following correction
margin: 0px 5px 10px 3px;
Will give your image a top margin of 0 pixels, a right margin of 5 pixels, a bottom margin of 10 pixels, and a left margin of 3 pixels.
Now if your image is an odd size or you just want it placed in the centre of the page you can use the auto setting.
So changing the 5px (right margin) & 3px (left margin) to auto makes their values equal. This horizontally centers the image on the page. Maybe not a good idea to attempt to do this vertically though, as depending on the visitors browser, the image may end up anywhere on the page.
Continue changing the margin settings until you have your logo exactly where you want it.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
I am using the defualt theme and have no idea where to go. This has to be the worst application I have ever encountered. To edit the index page is a nightmare.
@kilsek you must be new here! it's easy for me to navigate and i think elgg is very well organized
No I am not new but havent been around in a while stopped using this service because of this reason but came back to suffer some more...
To simply add to the top bar, you have to go to far tomany files to do so. No disrespect menat but the layout for the files is bad.
I have been able to replace the elgg logo that appears on the top bar.Please I want to change the big site name that appears top left side as site logo (white in colour),on the default elgg v1.8.
Is this tutorial fit for it?
@kxx4 : No it wont. You need to override the views/default/page/elements/header_logo.php file in your theme
the head_logo.php file is blank when opened with crimson editor. I have the site logo ready, ts just to see the script
Why are elgg images based around Compuserve GIF rather than OpenSource PNG (which is better and is not proprietary)?
If I want to change all the GIFs to PNG are there some important dependencies I should be aware of that also need to be changed?
I am using elgg 2.01 and want to remove elgg icon(at topmost). I found it to be in engine/lib/views.Please tell me how to override it.
@Shubham Jaiswal It's not there. I suspect that you are using a custom theme
Sorry but what do you mean by Custom theme,
And please tell me how can I remove that icon
If you talks about favicon then your question is not correct in this topic. Here' s we talks about Elgg logo image aka header logo, or logo in topbar
.
thanks,i asked it technical support and waiting for your reply there...plss help