Hide Login Box
If you do not require members to login or if you do not want to show the login box on every page, you can hide it by using the following CSS code: #idLoginContainer
{
display: none;
}
You can still login to your site by going to http://<your_wa_address>/Common/LoginPage.aspx

-
Jan commented
So, if I have 50 pages, I need to identify every page the login should NOT be on? That's a lot of CSS to keep up with with page changes, etc.
When you say "prefix it to the code in the first post... I think you really mean replace it with this code for each page? If you just add it then the Login doesn't appear on the Home page.
#PAGEID_977337 #idLoginContainer {
display: none;
} -
Deanna commented
Hi, thank you for all your great information. I have an additional question on this matter.
I have been able to hide the log in on all pages. But I would like to have it on the Site Contacts page so that the various administrations still have a login box, but the rest of the membership doesn't need to worry about it.
OR/AND
I would like to add to the Log in Box "for Administrators Only".
-
dborod commented
Right, specify the pageid. Thanks.
-
Matthieu commented
Hi, see the post a bit higher up to do this - http://forums.wildapricot.com/forums/308926-for-designers-and-developers/suggestions/8821309-hide-login-box
-
dborod commented
Thanks. I put this into the global CSS and it hides the menus. Is there a way to do this on just selected pages as opposed to globally on all pages?
-
Frank commented
Using the code below you will completely hide your menu. #idMainMenuContainer {display:none;}
-
dborod commented
Hi,
The page in question is:
http://apmembership.memberlodge.org/DonationPage
aka /Default.aspx?pageId=973292
Thanks.
-
Frank commented
Yes, please post your website address and we can show you how to apply technique to the menu.
-
dborod commented
Thanks, that worked fine.
Now, is there a way to hide the navigation bar too?
-
Matthieu commented
If your page ID 977337 you need to prefix it to the code in the first post. This is the code you need to use:
#PAGEID_977337 #idLoginContainer {
display: none;
} -
dborod commented
Thanks for responding.
I've got the page ID (977337) and tried adding the snipped (with my id) into the advanced customization for the CSS, but it is having no affect.
What do you mean about "add it to the code in the first post code"
-
Matthieu commented
You will need to find the page ID http://help.wildapricot.com/display/DOC/Finding+the+page+ID of the page you want to hide it on and then add it to the code in the first post code and place it into Settings > CSS Customization. For example:
#PAGEID_338571 #idLoginContainer {
display: none;
} -
dborod commented
Hi,
How do I go about hiding the login box on a page?
-
dborod commented
Hi,
This doesn't seem to work any more.
-
Matthieu commented
[quote]Can I hide the login box on every page except the home page?[/quote]
Yes, to do this, follow instructions in the first post and then go the Web pages tab and click [Edit] and then click on the <S> and insert the following:
<style>
#idLoginContainer
{
display: block;
}
</style>