c5 bar on Login page

Permalink
Hi,

My log-in page has a gray banner across the top of the page with the c5 logo on it. Similar to the one on top of this website. Is there a way to remove it? I couldn't find the code for it on the login.php page.

Thank you,

Andrey

 
Mnkras replied on at Permalink Reply
Mnkras
pop op /config/site_theme_paths.php, its pretty obvious what you do,
andreyman3d2k replied on at Permalink Reply
Sorry to be so dense, but I could not find what to edit in site_theme_paths.php.

I see a way to theme it here... but I am not trying to theme the login page, just to get rid of the bar at the top.

Andrey
Mnkras replied on at Permalink Reply
Mnkras
the login page is using the core theme, just change the theme to something else, like default
andreyman3d2k replied on at Permalink Reply
can I make it use no theme?
Mnkras replied on at Permalink Reply
Mnkras
no, you can make a mostly blank theme though,
andreyman3d2k replied on at Permalink Reply
I made a copy of the theme 'default' and called it 'cleandefault' (in the same directory.

Added this line:

$v->setThemeByPath('/login',
"cleandefault");

to site_theme_paths.php

But the page comes out all messed up, as if it's ignoring all the CSS... did I do something wrong?
sorrells replied on at Permalink Reply
what is it that you're trying to do with this page? Are you trying to create another login page? Are you looking for a clean page with no code or theme? Are you looking to have the page use your theme but with no content?
12345j replied on at Permalink Reply
12345j
create it in the root/themes folder, not root/concrete/themes and then, assuming you're only using it for login, i think if you remove
<?php 
    Loader::element('header_required'); 
 ?>

from it, it display with no bar.
andreyman3d2k replied on at Permalink Reply
sorrells: My goal is to have the log-in page not have that gray stripe across the top with the c5 logo on it.

12345j: I created a theme in both places, by copying the default theme and renaming it. When I set the log-in page to use that theme, though, it seems like all the CSS is gone, because the whole page is in Times, black, and all pushed to the left of the screen.
tallacman replied on at Permalink Reply
tallacman
As far as I know this is the simplest method:http://www.concrete5.org/community/forums/usage/remove-top-bar-with...

Just put it in you css file.
andreyman3d2k replied on at Permalink Reply
tallacman, thanks! that seems spot-on. But which CSS file do I put it into?
andreyman3d2k replied on at Permalink Reply
can I stick it into the login page itself?
andreyman3d2k replied on at Permalink Reply
Yes! I placed it right into the log-in page, like this:

<style>
#ccm-logo {
display: none;
}
</style>

And it worked!

Thanks a ton, tallacman, and to everyone else for the insights.

Andrey