Recherches récentes


Pas de recherche récente

Edward Teach's Avatar

Edward Teach

Adhésion le 23 févr. 2022

·

Dernière activité le 15 janv. 2025

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

Suivis

0

Abonnés

0

Activité totale

2

vote

1

Abonnements

0

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Edward Teach

Edward Teach a créé une publication,

Publication 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!

Publication le 05 mars 2022 · Edward Teach

3

Abonnés

11

Votes

7

Commentaires