Vor Kurzem aufgerufene Suchen


Keine vor kurzem aufgerufene Suchen

Edward Teach's Avatar

Edward Teach

Beigetreten 23. Feb. 2022

·

Letzte Aktivität 15. Jan. 2025

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

Folge ich

0

Follower

0

Gesamtaktivitäten

2

Stimme

1

Abonnements

0

AKTIVITÄTSÜBERSICHT

Neueste Aktivität von Edward Teach

Edward Teach hat einen Post erstellt

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!

Gepostet 05. März 2022 · Edward Teach

3

Follower

11

Stimmen

7

Kommentare