How to hide site name
Permalink
I have looked for this all day, but cannot seem to find how to turn off the site name in Concrete5. I have uploaded my logo, and would like to only see that in the Header area, but I can't delete the name.
Here is the site I am working on:
http://simple2000.net
Any help would be appreciated...
Thanks
Here is the site I am working on:
http://simple2000.net
Any help would be appreciated...
Thanks
concrete/themes/default/elements/header.php
I knew it would be easy for someone that knows what the heck they're doing...:)
yes it is quite simple like in that spot i put a bunch of html i made from a sliced image to make a really nice menu bar.
test.rbari.org right in the default theme
if you need help let me know
also you can edit the footer to remove stugg like click here to sign into site and the install concrete5 and stuff by goin into the theme (concrete/themes/default/elements/footer.php)
test.rbari.org right in the default theme
if you need help let me know
also you can edit the footer to remove stugg like click here to sign into site and the install concrete5 and stuff by goin into the theme (concrete/themes/default/elements/footer.php)
It didn't seem to work out? is there another way. It just doesn't remove the text. and the Dashboard won't let you either...
in 5.3.3 you'll be able to do this through the dashboard, right now you have to edit the theme files.
Frz,
I do not see this option in 5.3.3
Where would it be located? Just checking this option before having to edit the code
I do not see this option in 5.3.3
Where would it be located? Just checking this option before having to edit the code
im not sure how this may jive with a legacy site, but on a fresh install you should see that plain yogurt is now using a block for the site name. this block is editable in the scrapbook for admin.
I have a fresh 5.3.3.1 install using Plain Yogurt and the sitename's is not in a block. Clicking on it in page edit mode does nothing, and it's jammed up with the add-to-header-nav link.
What are the steps, using Concrete5, to installing your own Logo
What steps did you take to implement your own logo using Concrete5
After removing the site name text (with removing the code via instructions above), I went into page edit mode (just the gui), and inserted the logo as an image in the header. May or may not have been the best way to do it, but it works. Only bad thing about this, is that I had to add it for each page (if memory serves me correctly). It is a fast add though, once you get the file uploaded.
Hope that helps...
Hope that helps...
what you do is upload the file in concrete get the url its like /inline/-/123
put img tags around it and stick it where you took the stuff out
put img tags around it and stick it where you took the stuff out
The best way to do this is via css, I post sample code in a bit, but it involes indenting the site name.
You have to remember that not everyone can see graphics,some people have screen readers, so you need to leave the name, hr names,link names, stuff like that,so these people can access your site.
Look at your sites without any css coding and you will see what I mean
Try to always use ccs to change your styles insead of changing the code on the page, that way you only do it once and you dont have to go and change every page by hand.
You have to remember that not everyone can see graphics,some people have screen readers, so you need to leave the name, hr names,link names, stuff like that,so these people can access your site.
Look at your sites without any css coding and you will see what I mean
Try to always use ccs to change your styles insead of changing the code on the page, that way you only do it once and you dont have to go and change every page by hand.
if you are running 5.3.3, you can goto scrapbooks in the dashboard and replace the content of teh site name block with whatever you please using the content editor
I found this thread from a search on changing the website name. I knew to do it via Sitewide Settings but my change wasn't reflected. The default "concrete5" website name also wasn't updating on the pages. It was saving in the Dashboard but not updating on any pages. This is with 5.3.3.1
I added the new website name in the Global Scrapbook as an HTML block (although I could have typed anything in) and suddenly the default "concrete5" website name kicked in.
So I went back to Sitewide Settings, saved a new name and this time it stuck. Deleted the block I'd added in the Global Scrapbook.
I added the new website name in the Global Scrapbook as an HTML block (although I could have typed anything in) and suddenly the default "concrete5" website name kicked in.
So I went back to Sitewide Settings, saved a new name and this time it stuck. Deleted the block I'd added in the Global Scrapbook.
Franz I can´t find, is it available only when you install sample content?
If you upgraded from an earlier version this wont work.
If you're not using one of the default themes, this probably wont work either.
If you're not using one of the default themes, this probably wont work either.
I'm using 5.3.3.1 fresh install without sample content and plain yogurt theme, admin's scrapbook is empty.
Not big deal tho, I'll probably use a different theme and I can manage editing header.php but I think rcastellet has a point in his post
Not big deal tho, I'll probably use a different theme and I can manage editing header.php but I think rcastellet has a point in his post
its in the global scrapbook, not the admins.
I have not been able to find it.
(Screenshot attached of what I can see in the Scrapbook section.)
Thanks.
(Screenshot attached of what I can see in the Scrapbook section.)
Thanks.
try using the admin account.
I am logged in as admin (just changed the user name) -- but I just read this thread, and apparently the Global Scrapbook has now been replaced with Shared Scrapbooks? :
http://www.concrete5.org/index.php?cID=16177...
http://www.concrete5.org/index.php?cID=16177...
Hi Frz
Thanks for your quick replies, now I'm positive about this, if you make a clean install (sample content option off) you won't have any "global scrapbook".
Thanks for your quick replies, now I'm positive about this, if you make a clean install (sample content option off) you won't have any "global scrapbook".
Hi Frz
Thanks for your quick replies, now I'm positive about this (checked both ways), if you make a clean install (sample content option off) you won't have any "global scrapbook".
something went wrong and it got post it twice, please remove
Thanks for your quick replies, now I'm positive about this (checked both ways), if you make a clean install (sample content option off) you won't have any "global scrapbook".
something went wrong and it got post it twice, please remove
just use an alt tag and you can use an image, it isn't that big of a deal. that way screen readers still have information to read and people who don't use a screen reader can see all the glitter.
This is how i did it using C5 C5 5.3.3.1.
As mentioned by kino you need to find this piece of code
<h1 id="logo"><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></h1>
and add a span tag like this
<h1 id="logo"><span><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></span></h1>
in your main.css add the style for the span tag you just added above like this
span {
display: none;
}
This ways you still have the H1 tag which is pretty important for the crawlers but is invisible.
There could be an instance where you need to replace the H1 tag with a logo image, to achieve this you place the logo image inside the images folder and ammend this code to display the logo image instead of the H1 tag.
<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><img src="<?php echo $this->getThemePath()?>/images/logo.jpg" alt="logo" />
?></a><!--
--></h1>
Hope this helps.
As mentioned by kino you need to find this piece of code
<h1 id="logo"><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></h1>
and add a span tag like this
<h1 id="logo"><span><a href="<?php echo DIR_REL?>/"><?php echo SITE?></a></span></h1>
in your main.css add the style for the span tag you just added above like this
span {
display: none;
}
This ways you still have the H1 tag which is pretty important for the crawlers but is invisible.
There could be an instance where you need to replace the H1 tag with a logo image, to achieve this you place the logo image inside the images folder and ammend this code to display the logo image instead of the H1 tag.
<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><img src="<?php echo $this->getThemePath()?>/images/logo.jpg" alt="logo" />
?></a><!--
--></h1>
Hope this helps.
I think there should be a pretty straight way to insert the logo. Just an editable block like the others. Logo is the first thing anybody want to change when editing a template. Should you review this to make the software more usable.
Thanks for your great work, guys!
Thanks for your great work, guys!
//kino
could you tell me how to edit this new code to replace the logo?
I tried just replacing all the above with the suggested line of code but it didn't seem to work out.
could you tell me how to edit this new code to replace the logo?
I tried just replacing all the above with the suggested line of code but it didn't seem to work out.
Sorry for choosing wrong category for the post.
Hey can we transfer phpbb3 forums (Users + threads in database) to the concrete 5.
Means is there any script through which we can transfer forums from phpbb3 to concrete 5 forum(add on).
Thanks in advance.
Hey can we transfer phpbb3 forums (Users + threads in database) to the concrete 5.
Means is there any script through which we can transfer forums from phpbb3 to concrete 5 forum(add on).
Thanks in advance.
Have read the above with interest. Have managed to use the dashboard and global scrapbook to replace the site name with a logo. But only in the "plain yogurt" theme.
I just can't seem to get it to work with "whitespace". Does this theme support these changes or is it possible to edit the code. Would be really grateful for some help..
I just can't seem to get it to work with "whitespace". Does this theme support these changes or is it possible to edit the code. Would be really grateful for some help..
It work for me doing this...
i edit header.php and i found the code :
and then i put the code inside a "span" with the name nologo, ending as follow :
And then, in the file main.css down below of the #page #header section i add the following code
[code]
#page #header .nologo {display: none;}
/[code]
As someone comment, this is good for crawlers, but it's not visible who have sense. But I'm wondering if someone can do the very same with just CSS or in the "custom CSS" theme options (without messing with the files of the templates, ftp, upload, etc. Like someone said also, this is the first things people want to do when customizing a theme. Should be an easier way.
i edit header.php and i found the code :
and then i put the code inside a "span" with the name nologo, ending as follow :
And then, in the file main.css down below of the #page #header section i add the following code
[code]
#page #header .nologo {display: none;}
/[code]
As someone comment, this is good for crawlers, but it's not visible who have sense. But I'm wondering if someone can do the very same with just CSS or in the "custom CSS" theme options (without messing with the files of the templates, ftp, upload, etc. Like someone said also, this is the first things people want to do when customizing a theme. Should be an easier way.
what if I just remove the code? Will there be any unwanted effects?
<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a><!--
--></h1>
<h1 id="logo"><!--
--><a href="<?php echo DIR_REL?>/"><?php
$block = Block::getByName('My_Site_Name');
if( $block && $block->bID ) $block->display();
else echo SITE;
?></a><!--
--></h1>
Thanks cainKuri; your solution was the only one that worked for me. I was just a little confused about where to put the span code in the main.css file, but putting it after the last #page #header entry worked for me. I don't know if it mattered.
Doing the other example with the <span> tag in the main.css file resulted in most of my text disappearing throughout the page
Doing the other example with the <span> tag in the main.css file resulted in most of my text disappearing throughout the page