最近の検索


最近の検索はありません

Add Website Banner Image anywhere on Help Center

回答済み


投稿日時:2022年3月07日

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件のコメント

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


サインインしてコメントを残してください。

お探しのものが見つかりませんか?

新規投稿