Category / Section
How to Add an External Website Link to the Customer Portal
Published:
You can include your website link in the BoldDesk customer portal using the custom JS option.
To do so, go to Admin > Customer Portal > Customization and paste the following custom JS code.
Custom JS code
var myWebsite = document.createElement('a');
myWebsite.classList.add("ticket-support", "cursor-pointer", "ellipsis", "no-wrap", "font-500", "ml-3");
myWebsite.target = '_blank';
myWebsite.href='https://www.bolddesk.com';
myWebsite.innerText = 'My Website';
document.querySelector('.header-title').appendChild(myWebsite);
Note: The above URL and website name are just examples. You can replace them with your website URL and name.
Pasting the custom JS codes
To learn where to paste the above custom JS codes, refer to this article.