Recherches récentes


Pas de recherche récente

Add Website Banner Image anywhere on Help Center

Avec réponse


Publication le 07 mars 2022

I want to include a clickable banner image linked to our website on the help center just like this. How can I do that?


0

3

3 commentaire

image avatar

Pulkit Pandey

Zendesk LuminaryCommunity 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


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

0


image avatar

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


Vous devez vous connecter pour laisser un commentaire.

Vous ne trouvez pas ce que vous cherchez ?

Nouvelle publication