Recent searches


No recent searches

Edward Teach's Avatar

Edward Teach

Joined Feb 23, 2022

·

Last activity Jan 15, 2025

“Damn you villains, who are you? And from whence came you?”

Following

0

Followers

0

Total activity

2

Vote

1

Subscriptions

0

ACTIVITY OVERVIEW

Latest activity by Edward Teach

Edward Teach created a post,

Post Discussion - Tips and best practices from the community

This handy tip involves customizing you Help Center to display Popular Search topics.

It could be also be used to highlight new or specific articles.

 


Prerequisites:
 

  • Technical skills: Just copy and pasting
  • Total duration: 5-10 minutes


To add popular searches or topics in Copenhagen Theme
 

  1. Go to Guide admin > (👁️‍🗨️) Customize the design.
  2. Choose a theme.
  3. Click Customize Edit code.
  4. Select the following templates: "document_head.hbs",  "home_page.hbs", and "style.css".
  5. Copy and paste the code below to "document_head.hbs". Replace with your desired topic/keyword title and the links for it. The code below includes 4 topics but feel free to add as many or as few as you'd like.
    Pro Tip: Base the topics/keywords from your Search dashboard, see Analyzing help center search results with Explore

     

     

  6. Now, go to "home_page.hbs".
  7. Copy and paste the code underneath the,
    {{search submit=false instant=settings.instant_search class='search search-full'}}
    Note: The search icon was removed as it becomes offset when adding the code below.

  8. Then, go to "style.css".
  9. Add the code at the very bottom.
    .popular-searches {
        max-width: 960px;
        margin: 0 auto;
        padding-left: 5px;
        text-align: left;
        font-size: 15px;
        color: #ffff;
        margin-top: 1rem;
        user-select: none;
    }

    .popular-searches a {
        padding-left: 5px;
        text-decoration: underline;
        text-decoration-color: #ffff;
        text-underline-position: under;
        user-select: none;
    }
  10. Click Save in all tabs and you're done!

Posted Mar 05, 2022 · Edward Teach

3

Followers

11

Votes

7

Comments