site logo
Permalink 1 user found helpful
Hi everyone and thanks for your contributions.
I am new to C5 and want to know how to replace the site name text with a site logo.
I have watched this video...
http://www.concrete5.org/help/editing/scrapbook_defaults/...
... and understand this but this does not allow me to add over the main navigation area i.e. where the site name appears.
I have also read other posts about altering the code but these were not clear as to what files are called and where they reside.
As always, any help much appreciated.
I am new to C5 and want to know how to replace the site name text with a site logo.
I have watched this video...
http://www.concrete5.org/help/editing/scrapbook_defaults/...
... and understand this but this does not allow me to add over the main navigation area i.e. where the site name appears.
I have also read other posts about altering the code but these were not clear as to what files are called and where they reside.
As always, any help much appreciated.
Hi Mnkras and thanks for your reply.
I have changed back to the default theme to experiment with adding a logo where the site name appears.
I have had success of sorts using the global scrapbook, as the logo now appears in all the pages, however next to the logo is the text 'Logo' or a missing image box (see attached).
Also, depending on the theme used the logo sometimes does not show, but I assume that's because the CSS for that theme does not have it defined?
I have changed back to the default theme to experiment with adding a logo where the site name appears.
I have had success of sorts using the global scrapbook, as the logo now appears in all the pages, however next to the logo is the text 'Logo' or a missing image box (see attached).
Also, depending on the theme used the logo sometimes does not show, but I assume that's because the CSS for that theme does not have it defined?
hi, there is a solution but it can take some fiddling. open up an ftp browser- if you don't have one use a web based one like netftp. enter your login credentials and navigate to where concrete5 is located. this will be something like public_html and then either right there or in a subfolder called concrete5. once in the concrete5 directory, click on the folder called concrete. (this is to edit the default theme, for others click themes). then click on themes, and default, or whatever theme you want to edit. go to elements, and header.php. look for a block of php like this you can change site name to anything you want it to be. If the first isn't in there, though it is for the default, open up default.php or the page type you want to change. you'll have to do this separately for each page type you want to modify if you have to do this. If you want content and an image use this addon.http://www.concrete5.org/marketplace/addons/content-around-image/...
hope this helps!
Replace that code with
<?php $a = new Area('Site Name'); $a->display($c); ?>
hope this helps!
its a really good idea to NOT edit anything under
/concrete
in your file system...
if you want to change something in there, take a copy of it and move it up a level....sooo
/concrete/themes/default/yadda.php
becomes
/themes/default/yadda.php
concrete5 will know to use the "override" and you will still be able to upgrade later.
/concrete
in your file system...
if you want to change something in there, take a copy of it and move it up a level....sooo
/concrete/themes/default/yadda.php
becomes
/themes/default/yadda.php
concrete5 will know to use the "override" and you will still be able to upgrade later.
Thanks both of you for your replies.
I will experiment further with this but for now have managed to do what I need using the my_site_name option in the admin scrapbook.
Cheers for now.
I will experiment further with this but for now have managed to do what I need using the my_site_name option in the admin scrapbook.
Cheers for now.
I've just done a fresh installation of the new release version of C5 & don't seem to have the Global scrapbook or the My_Site_Name anywhere. Can anyone help me out with this?
you need to manually add it
Thanks Mnkras. Where do I add this.
in the dashboard got to the scrapbook page, hit add scrapbook, name it "Global Scrapbook"
in the global scrapbook add a content block
insert what you want the content to be, save, hit rename and put in "My_Site_Name"
in the global scrapbook add a content block
insert what you want the content to be, save, hit rename and put in "My_Site_Name"
Thanks so much. Job done.
http://www.concrete5.org/help/faq/how_do_i_get_rid_of_my_sitename_/... you can insert an image in the content block