Category / Section
How to Add an External Website Link/Custom Tab to the Customer Portal
Published:
Jun 26, 2024
Using the custom JavaScript option, you can seamlessly add your website link as a new custom tab within the BoldDesk customer portal.
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.style.paddingLeft = '10px';
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.
Before customization
After customization
Related article
Did not find the solution
Contact Support