Add Website Banner Image anywhere on Help Center

3 Comentarios

  • Pulkit Pandey
    Community Moderator

    Hi Harshita Sharma

    You need to create a block on your help center that holds the image with the URL of your website so when someone clicks on an image it will redirect the user to our website.

     

    Let me know if you need any help 

     

    Thanks 

    Pulkit

    0
  • Harshita Sharma

    Can you please guide me on how to create such block?

    0
  • Tipene Hughes
    Zendesk Developer Advocacy
    Hi Harshita,
     
    Thanks for reaching out!
     
    One way you could go about achieving this is by adding the image to the aside element within the article_page.hbs file in your help center. You'll need to add the image as an asset in your help center first, and then insert that image wrapped within an anchor tag which would link back to your website. Here's an example of how that could look: 
     
    <aside class="article-sidebar" aria-labelledby="section-articles-title">
          {{#if settings.show_articles_in_section}}
            ...
          {{/if}}
          <a href="https://example.com">
          	<img src={{asset 'example.png'}} >
          </a>
    </aside>
     
    You would then likely need to add some styling to the image in the style.css file.
     
    I hope this helps!
     
    Tipene
    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk