Remove "Sign In" from Help Center

Answered

66 Comments

  • Wes Drury

    Hi Goke - As long as you are not on the Starter Plan then you can edit your theme.  If you would like to remove the Sign-In then you can edit your CSS to hide the "Sign-In" button.  Go to line 388 from the CSS tab and add the following:

    .login, .user-info {
    margin-left: 20px;
    display: none;
    }

    As you can see I added "display: none;" which will hide the Sign-In button.  Let me know if you have any additional questions.

    1
  • DwilySupport

    Hey Wes, thanks for that. How would my admin agents sign in though?

    0
  • Wes Drury

    @Goke - You would give your Agents a direct link to sign in like - http://dwily.zendesk.com/access/normal or http://dwily.zendesk.com/access

     

    0
  • John Lafauce

    Hello, the opposite has happened to me. I need to add the sign in button back to our support page. Do you know how to do this?

    0
  • Wes Drury

    Hi John make sure you have the following in your header:  {{user_info}}  Also if you can provide the link to your site that would help me with troubleshooting your issue.

    0
  • John Lafauce

    Hi Wes,

    It worked like a charm!

    Thanks,

    John

     

     

    0
  • Wes Drury

    @John - Awesome glad to hear that worked.

    0
  • DwilySupport

    @Wes, how can I remove "Sign In" from this theme: http://pcdl.zendesk.com ?

     

    Is it at all possible to remove sign in from comments and community too? I don't want my users to have to sign up or sign in at all.

    0
  • Wes Drury

    @Goke - Let me make sure I fully understand your request.  You want to remove the Sign In from both the home page and also from the Comments area.  With that being said your users will never be able to provide comments on your articles and would never log into your HelpCenter.  If that's the case you can remove the following from your HTML files or comment them out by putting <!-- (in front)   ---> (at the end).  Its best practice to comment out the code so if you ever need to turn it back on you just remove the <!--   --> from your code.

    Header Page

    Remove  {{user_info}} OR

    <!-- {{user_info}} -->

    Article Page

    Remove or comment out the below HTML

    <section class="article-comments">
    <h2>{{comment_heading}}</h2>
    {{comment_list}}
    {{comment_pagination}}
    {{comment_form}}
    </section>

    0
  • Tom

    Is there any way to remove just an element of the user_info object?  I want to keep the profile but remove the sign out option.

    0
  • Wes Drury

    @Tom - Don't want your end users leaving your Help Center :-) 

    On the JS tab add the following below the $(document.ready) function

    //Remove Sign Out
    $("#user-menu").find('li:last-child').remove();

    1
  • Tom

    Yeah!  We call our Knowledge Base "Hotel California"

    Worked like a charm, thanks for the help

    1
  • Wes Drury

    @Tom - Great now that song is going to be stuck in my head for the rest of the day :-)  Glad I could hep!

    0
  • Diane Albert

    love it!!! someone else with that musical quirk...i used to think it was a curse, but now i just use it to annoy people

    ...and since Wes will be walking the halls grinning from ear to ear because he can't tell anyone why he is thinking of pink champagne on ice and mirrored ceilings, it's all the better!

    D

    0
  • Leah Peev

    So, just so I'm clear, if I remove the 'Sign In' option from my HC landing page (I've already removed the 'submit a request' option), my users will still need (and have the option) to sign in from the Community page in order to post any content? 

    I am trying to create a ticket-free setup option in which the end users have full access to the Help Center and Community features to help each other but may not submit a ticket themselves.

    0
  • Wes Drury

    @Leah - Why don't you leave the Sign In option on the HC landing page as long as you hide the "Submit Ticket" option then they will not be able to submit a ticket.  You are correct if a user goes to the Community section and they have not logged in then they will see a link that says "Please sign in to add your answer" and if on the knowledge base side then it says "Please sign in to add your comment".

    Also don't forget to remove the {{more_questions}} placeholder from your Articles page.

    Hope this helps and let me know if you have any other questions.

    0
  • Tom

    Hey Wes

    Did something happen to the "#user-menu"  object?  My code seems to be failing now...

    0
  • Tom

    Never mind, got it using this: $("#user-menu").find('a:last-child').remove();

    0
  • Wes Drury

    @Tom - Glad you got it sorted out!

    0
  • Sarah Jenkins

    @Wes - Is there a way to remove any instances of the sign in link on the mobile site? I noticed a few sign in links across mobile. My boss is pretty insistent that we remove any ability for end users to sign in to Zendesk to avoid confusion with our membership site.

    0
  • Colin Piper

    Sarah, there is not much you can do currently with the mobile site. The best approach is to use a responsive main site and remove the mobile site. You have so much more control this way.

    0
  • Wes Drury

    @Sarah - Colin is correct as you can't really do any customization for the mobile site.  He also provided you with the exact answer that I was going to give about using a responsive Help Center.  I have created three custom responsive themes that will serve as a good starting point for your Help Center if you decide to go that route.  Once you use a responsive theme you can completely disable the mobile site and your Help Center will look the same across all devices.

    I've included the link below where all my themes and other tips are located.  Feel free to reach out to me if you need further assistance on the responsive themes.

    https://support.zendesk.com/hc/communities/public/posts/203458536-Help-Center-community-tips?locale=en-us

     

    0
  • Wes Drury

    @Sarah - I also played around with Media queries however they did not work for me on the mobile site.

     

    0
  • Sarah Jenkins

    Got it. Thanks for the quick response!

    0
  • David Scott

    Just to update this post, to remove sign-in button at top of template from view we were required to add following CSS at line 559:

    .user-nav .login {
       display: none;
    }

     

     

    0
  • Jessie Schutz

    Hi David! Thanks for sharing your solution! :)

    0
  • Acarr

    Hi Wes, 

     

    This is our site where we are trying to hide the 'Login' link from top right. 

     

    https://a2zinc.zendesk.com/home

    Any help is appreciated.

     

     

    0
  • Wes Drury

    Acarr - You are on the old Web Portal so I'm afraid I can't assist you with that as all the code that I have is for the New Help Center.  If you are on the new Help Center then you can just remove the {{user_info}} placeholder.

    0
  • Jessie Schutz

    Hey Acarr!

    We have some documentation that you might find helpful here. The first one that comes to mine is: Hiding parts of the Web portal from logged-out users. You might also want to check out our CSS Cookbook for Web Portal.

    Hope that helps!

    0
  • Chris

    Hi Wes

    I am hoping you can help me out. I have lost the ability to have people sign in to the page.

    Adversely, is it possible to (1) not require a log-in but have it present and (2) only allow certain organizations to log in?

    Skoollive.zendesk.com 

    Thanks

    0

Post is closed for comments.

Powered by Zendesk