Hiya,

since I searched for it long enough and now I've found it, I want to share with you.
It appears not to be in the forum or the search engine doens't really do its job properly.

here's the trick: delete your site name by just tapping a "space" with your space bar in the field of general settings: administer>settings>general settings.
There is a red star that "probably indicates that you are obliged to enter something but apparently that doesn't really matter too much. The counterpart of this trcik is that you loose your site's name in the windowbar of your browser. Maybe that will affect your Google ratings, don't know.

If someone knows how to get rid of the site's name without this .. bring it on.
;-)

Comments

jdevries’s picture

Go to administer >> themes >> configure (4.7 / 5.0) and remove the checkmark in front of Site name. Or were you referring to something completely different?

vm’s picture

Agreed the above is the correct way to handle it. The first poster actually still has a title, albeit a space. Thus its still titled.

one could also choose to remove
<?php if ($site_name) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?> from page.tpl.php

This is also a hack way of doing it that would cause confusion if you one day wanted to implement a site name where it was removed. (unless you remember what you removed)

jdevries points out that the Drupal developers have already taken this in to consideration and is the better way to handle removal of "site name"

jdevries’s picture

The hacking is not such a bad deal (although obviously worse than my earlier post, as it's a build-in feature), as long as you maintain a good changelog were you document what you changed, where you changed it and perhaps why you decided to hack it in the first place... :-)

snmstudio’s picture

Okay, I tried many things, including the one above, but it removed my whole header picture!

BUT, I was so happy to finally have the solution to this, that I had to register and let you guys know, lol...

What I did was add to the code in default.css (/themes/your_theme/default.css)...

/* header */
.header {
	float: left;
	width: 640px;
	background: url(img/header.jpg) no-repeat;
	font: normal 2.4em Verdana,sans-serif;
	line-height: 150px;
	text-align: center;	
	letter-spacing: -3px;
}
.header a, .header a:hover {
	text-decoration: none;
	color: #333;
	visibility:hidden;    <-----I JUST ADDED THIS LINE!!!
}

Hope this works for you guys!=)

allonn’s picture

for sub-theme
Go to: sites/all/themes/your_sub_theme/css and find
page.css

Find:

#site-name {
visibility:hidden; /* <---add this */
}

Site name wont show any more.