How delete "Log In" in the footer?

Permalink
I went into File Manager and changed the footer.php code. However, "Log In" is still there, and it needs to be removed because it is confusing for anyone who reads my website.

There is no obvious way to remove "Log In" from the footer. I need HELP. It is a purchased theme.

I am very appreciative for any advise or assistance you can offer.

tamarosher
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
Looking at your source code, the best way that I can think of would be to edit your main.css file for the theme you're using. Then, add the following lines of code to hide the text:

#footer-bottom #login span a { display: none; }


Hope that helps?
tamarosher replied on at Permalink Reply
tamarosher
Thank you very much for your kind help. I am very appreciative.


Do I add that code to the css file?
MaxPudov replied on at Permalink Reply
Maybe you remove code in another footer?
I am also removed "Log in". It was in themes/theme_name/elements/footer.php
The following code:
<?php 
$u = new User();
if ($u->isRegistered()) { ?>
<?php if (Config::get("ENABLE_USER_PROFILES")) {
$userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>';
} else {
$userName = $u->getUserName();
}
?>
<span class="sign-in"><?php echo t('Currently logged in as <b>%s</b>.', $userName)?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a></span>
<?php  } else { ?>
<span class="sign-in"><a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In to Edit this Site')?></a></span>
<?php  } ?>
tamarosher replied on at Permalink Reply
tamarosher
I still don't know how to remove "Log In" from the footer. I found this code in the file named footer.php:


<?php $this->inc('elements/login.php'); ?>


Is that the code that I should delete?
tamarosher replied on at Permalink Reply
tamarosher
The website ishttp://www.EmeraldVitamins.com

"Log In" is in the footer, in the lower right corner.

I am trying to remove "Log In" because I am not asking my readers to log in. It is a health care website. People are sick; "Log In" is confusing to them.
admin replied on at Permalink Best Answer Reply
Looks like it to me. Backup a copy of the file on your pc somewhere, delete the line of code you think is responsible and then if the world begins to crumble, just replace the file with the one you backed up.
jwik replied on at Permalink Reply
jwik
I deleted the line you mention and it worked instantly - thanks for the idea as this was becoming an irritating issue.

:)