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
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
pop op /config/site_theme_paths.php, its pretty obvious what you do,
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
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
the login page is using the core theme, just change the theme to something else, like default
can I make it use no theme?
no, you can make a mostly blank theme though,
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?
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?
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?
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
from it, it display with no bar.
<?php Loader::element('header_required'); ?>
from it, it display with no bar.
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.
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.
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.
Just put it in you css file.
tallacman, thanks! that seems spot-on. But which CSS file do I put it into?
can I stick it into the login page itself?
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
<style>
#ccm-logo {
display: none;
}
</style>
And it worked!
Thanks a ton, tallacman, and to everyone else for the insights.
Andrey