By default, clicking the logo image in your help center header returns users to the home page. You can edit the HTML in your theme to return users to a different URL.
To update the logo URL
- Upload your logo image to the Assets area, as described in Using your own theme assets for help center.
Make a note of the image's URL.
- Click the Customize design icon () in the sidebar.
- Click Customize.
- Click Edit code at the bottom of the page.
- Choose header.hbs from the templates list, and locate the logo div tag in the HTML:
<div class="logo"">
- Replace this code:
{{#link 'help_center'}} <img src="{{logo_url}}" alt="{{t 'logo'}}"> {{/link}}
with the following HTML (in bold):
<div class="logo"> <a href="http://new_url"> <img src={{asset 'uploaded-image-name.png'}} /> </a> </div>
The code inserts a linked image in the page.
- Specify the URL of the page (new_url), the path to your logo image (path_to_image), and the image name (image).
- Click Save.