Recent searches


No recent searches

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

Answered


Posted Jul 29, 2021

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!


1

6

6 comments

image avatar

Trapta Singh

Zendesk LuminaryCommunity Moderator

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

1


image avatar

Trapta Singh

Zendesk LuminaryCommunity Moderator

Replace the URL with your target link.

Thanks

0


@... thanks a lot!

You helped me very much, really appreciated !

Have a nice day!

 

0


image avatar

Trapta Singh

Zendesk LuminaryCommunity Moderator

@..., glad to hear that you got it working. Happy Zendesking :)

Thanks

1


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

 

0


image avatar

Ifra Saqlain

Zendesk LuminaryMost Engaged Community Member - 2022Most Engaged Community Member of The Year - 2021Community Moderator

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

 

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post