Category / Section
How to Hide a Profile Tab in the Customer Portal
Published:
Aug 30, 2024
You can hide a tab under my profile page in the customer portal using a custom JS option.
To do so, go to Admin > Customer Portal > Customization and paste the following custom JS code.
Custom JS code
let intervel = setInterval(function() {
var tab = document.querySelector("#user-details-tab");
if (tab && tab.ej2_instances && tab.ej2_instances[0]) {
tab.ej2_instances[0].hideTab(1);
clearInterval(intervel);
}
}, 100);
Pasting the custom JS code
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