To customize the Web Widget (Classic) in Zendesk, you can use the Web Widget (Classic) API by modifying thedocument_head.hbs
template file in your help center.
First, navigate to Guide and click the Customize design icon. Select the theme you want to edit, open the options menu, and choose Edit Code. In the Templates section, click ondocument_head.hbs
to modify the code. Insert your desired code below the first<header class="header">
line and above the final header line. For example, to change the widget's position, use the following code:
<script type="text/javascript"> window.zESettings = { webWidget: { offset: { horizontal: '100px', vertical: '150px' } } }; </script>
For more detailed instructions, check out theoriginal Zendesk article.
Editing thedocument_head.hbs
file is essential for customizing the Web Widget (Classic) in Zendesk. To begin, go to Guide and click on the Customize design icon. Choose the theme you wish to edit and open the options menu to select Edit Code. In…
Yes, you can change the position of the Web Widget (Classic) in Zendesk by using the API settings. To adjust the widget's position, modify thedocument_head.hbs
file in your help center. Insert the following code snippet to set the horizontal and…
Yes, you can customize the Web Widget for different brands in Zendesk, allowing each brand to have a unique look and feel. To achieve this, you can use the Web Widget (Classic) API to apply different settings for each brand. This includes changing…
If your theme is preventing Web Widget API customizations, you may need to investigate the JavaScript in your theme. Some themes might have restrictions or conflicts that block API calls. To troubleshoot, try applying your customizations in a…