Hiding and showing elements in your Copenhagen standard theme

Return to top

12 Comments

  • Yehudah Rodman

    Hi everyone,

    Quick question: using the standard Copenhagen theme, is there anyway to hide the “sign in” option from end users? Because we customized our help center URL to match our own platform, we don’t want to give end users the impression that they will be logging into our platform when they click that function. Furthermore, none of the elements in our help center require end users to be logged in so we’d rather just remove that option entirely.

    If this option is not available in standard Copenhagen theme, would it be something we would be able to implement with a custom theme?

    0
  • Trapta Singh
    Community Moderator

    Hi @Yehudah Rodman,

    You might need to tweak the code a little bit and add javascript to check the user role. On the basis of that, you can show and hide the link.

    Let me know if this solves your issue.

    Thanks

    -1
  • Moss

    Hi everyone,

    I'm trying to hide the article ratings from the search results page. I'm having trouble modifying the code in order to remove this. Would somebody be able to help point me in the right direction?

    Thanks!

    0
  • Jacob Christensen
    Community Moderator

    Hi Ruben,

    In the Search_results.hbs template, you should be able to comment out that part of the code.

    I hope this helps.

    0
  • Moss

    Hi Jacob,

    Thanks for that. I was pretty sure I tried that previously but the formatting of the rest of the page was getting messed up. I must have been doing something else that I didn't notice the first time through.

    0
  • Tech Support

    How do I disable the Social Media icons under an article I created in guide?

    0
  • Dave Dyson
    Zendesk Community Manager
    Look for the "Social sharing" options here: Hiding and showing elements in your Copenhagen standard theme
     
    (Also, try to just post your question once – don't worry, we'll see it!) :) 
    0
  • Shelli Robinson

    Hello! 

    Is there a way to hide the "comment" and "view" totals next to Community Topic posts? 

    0
  • Blanca
    Zendesk Customer Care
    Hi Shelli, I want to make sure that we are on the same page.  Are you referring to the forum stats or the columns when viewing the docs? Perhaps you can send a sample screenshot. 
    0
  • Dave Jensen

    Is there anything in the standard Copenhagen theme I can use to add a Help Center Greeting/Overview paragraph? Currently the theme shows the top level content (i.e. multiple sections) in boxes only that a user can click on. I want to add a paragraph right above that content that says something like "welcome to the ____ Help Center, here is how to navigate between each of these content areas below" etc.

    I am not a developer and was hoping there was a shortcut I could use in the left-side toolbar to accomplish this but I'm not seeing anything so far

    0
  • Viktor Osetrov
    Hi Dave,

    Thanks a lot for your interesting question. You can add a Help Center Greeting using the following way:

    1) Open your Guide code editor and then click on "section hero" at home_page.hbs
    Please notice: it's better to add your code before <div class "hero-inner">

    2) For my testing purposes, I have added something like this:
    <h2 style="color:#blue;font-weight:bold;">Welcome to the Explore Ireland Help Center<h2>


    3) Publish results


    Hope it helps
    0
  • Gorka Cardona-Lauridsen
    Zendesk Product Manager

    Great questions Dave Jensen and great answer Viktor Osetrov!

    While the Copenhagen theme does not have this ability in the sidebar settings and requires code customization as Viktor suggests, another option is also to have a look that themes from the Zendesk theme marketplace. Many themes there has this feature.

    0

Please sign in to leave a comment.

Powered by Zendesk