Recent searches
No recent searches

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
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Edward Teach
Edward Teach created a post,
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
- Go to Guide admin > (👁️🗨️) Customize the design.
- Choose a theme.
- Click Customize > Edit code.
- Select the following templates: "document_head.hbs", "home_page.hbs", and "style.css".
-
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
- Now, go to "home_page.hbs".
-
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.Popular Search:
- Then, go to "style.css".
- 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;
} - Click Save in all tabs and you're done!
Posted Mar 05, 2022 · Edward Teach
3
Followers
11
Votes
7
Comments