Guide: change URL behind the LOGO to go back to shop url | Community
Skip to main content

Guide: change URL behind the LOGO to go back to shop url

  • July 29, 2021
  • 6 replies
  • 0 views

Frédéric11

Hello

On the guide page of our support page, we have the logo appearing on the top Left corner.

Can someone help me change the URL so that when a user click the Logo he goes back in another window on the shop again?

 

Thanks for the help!

6 replies

Trapta
  • July 29, 2021

Hi @Frédéric,

In your header.hbs file replace

{{#link 'help_center'}}
<img src="{{settings.logo}}" alt="{{t 'home_page' name=help_center.name}}" />
{{#if settings.show_brand_name}}
<span aria-hidden="true">{{help_center.name}}</span>
{{/if}}
{{/link}}

with

<a href="URL" target="_blank">
<img src="{{settings.logo}}" alt="{{t 'home_page' name=help_center.name}}" />
{{#if settings.show_brand_name}}
<span aria-hidden="true">{{help_center.name}}</span>
{{/if}}
</a>

let me know how it goes for you.

Thanks


Trapta
  • July 29, 2021

Replace the URL with your target link.

Thanks


Frédéric11

@Trapta thanks a lot!

You helped me very much, really appreciated !

Have a nice day!

 


Trapta
  • July 29, 2021

@Frédéric, glad to hear that you got it working. Happy Zendesking :)

Thanks


  • July 29, 2021

I am finding a way to add my website link to my Guide logo, is anybody here to help?

 


Ifra
  • July 29, 2021

Hi,

You can do like this:

Remove defualt helper {{#link}}

add custom anchor tag <a href="#"> </a>  remove # and add the URL or your website.

 

Before:

 

After:

 

I am using default Copenhagen Theme, you need to just do that as told above.

You can provide your website URL and Help Centre public URL so I can give you the code only for copy and paste.

If any help let me know :)

Thanks