Change the text of the Submit a request link on your help center by editing the code in your theme.

The workflow includes the steps below.

  • Step 1: Verify the prerequisites
  • Step 2: Make a copy of the theme
  • Step 3: Change the text

Step 1: Verify the prerequisites

This change requires you to edit the theme code of the help center and is only available on Suite Growth plans or higher.

Step 2: Make a copy of the theme

To change the text of the Submit a request link on your help center, replace the text in the code that sets this text.

Before you make changes to your live theme, make a copy of the theme and update the copied version.

Step 3: Change the text

To change the text of the link

  1. In Knowledge admin, select the icon Customize design () in the sidebar
  2. On the theme you want to edit, select Customize to open the theme
  3. Select Edit code at the bottom of the page
  4. Select header.hbs and replace the following code:

     {{link 'new_request' class='submit-a-request'}} 

    with the code

     {{#link 'new_request' class='submit-a-request'}}Contact Us{{/link}} 

    Replace the text Contact Us with the text string you'd like displayed.

    text string replacement in code

  5. Select Publish to save the changes

The theme code will display the new text.

new text in help center

This change will only alter the display of the link on the home page and will not change any breadcrumbs on your site. If you would like this text to be updated wherever it is displayed, consider using Javascript or JQuery. 

Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee custom code. Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS. Post any issues you have in the comments section or try searching for a solution online.
Powered by Zendesk