Remove Site Title On Floating Theme (Urgent)

Permalink
I would like to completely remove my site title onhttp://www.ilovelondon.co. This problem is really bugging me and other users alike, so we'd appreciate some help :)

Thanks.

uriremon
 
bcarone replied on at Permalink Reply
bcarone
In you header.php file you can comment/delete that if you wish.
uriremon replied on at Permalink Reply
uriremon
I'm almost hopeless at changing codes and php pages. would it be possible to provide more specific details? Excuse my ignorance in this topic.

Which part of the code should I change in my header file, and how?
bcarone replied on at Permalink Reply
bcarone
Sure...I know what you mean.

In your theme folder, go to the folder "elements" and open header.php. Find the code that looks like this

<?php echo SITE ?>

Instead of just deleting it, replace it with this

<?php /* echo SITE */?>

This will stop showing the site name but would allow you to add it back later if you wish by deleting the /* */.

If its helpful, select the Heart icon on the right of the post :)
uriremon replied on at Permalink Reply
uriremon
will know shortly whether it works.
uriremon replied on at Permalink Reply
uriremon
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html lang="en">
<head>

<!-- Site Header Content //-->
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('main.css')?>" />
<link rel="stylesheet" media="screen" type="text/css" href="<?php echo $this->getStyleSheet('typography.css')?>" />

<?php Loader::element('header_required'); ?>

</head>
<body>
<div id="page">
<div id="headerSpacer"></div>
<div id="header">

<?php if ($c->isEditMode()) { ?>
<div style="min-height: 80px">
<?php } ?>

<div id="headerNav">
<?php
$a = new Area('Header Nav');
$a->display($c);
?>
</div>

<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>

<?php
// we use the "is edit mode" check because, in edit mode, the bottom of the area overlaps the item below it, because
// we're using absolute positioning. So in edit mode we add a bit of space so everything looks nice.
?>

<div class="spacer"></div>

<?php if ($c->isEditMode()) { ?>
</div>
<?php } ?>

<div id="header-area">
<div class="divider"></div>
<div id="header-area-inside">
<?php
$ah = new Area('Header');
$ah->display($c);
?>
</div>

<?php if ($ah->getTotalBlocksInArea() > 0) { ?>
<div class="divider"></div>
<?php } ?>
</div>
</div>
ThemeGoodness replied on at Permalink Reply
ThemeGoodness
In your css (in the same folder Bill mentioned earlier find style.css)

put in the bottom

#logo h1 {
text-indent: -9999px !important;
}

this will make that header disappear with out removing your logo.

The standard use in templates that c5 has graciously set up perfectly is to have the code call a block but it seems yours is not set up that way. I can give instructions or a link to that if you want.

EDIT: I see from the code you posted it is in there.

Go to scrapbook and delete the content named "my_site_name" in the global scrapbook.

If your logo goes away (not sure what is going on here) then make a new scrapbook block with the logo image and rename it to "my_site_name' and it should load it back in.
uriremon replied on at Permalink Reply
uriremon
I'm currently using the floating theme. Do you reckon it will work? My site ishttp://www.ilovelondon.co.

You said in your previous post that you've never used this theme.