Recent searches
No recent searches
Change the title of a tab
Answered
Posted Jun 16, 2016
Hi there,
I modified the error page completely but would also like to change the title so that the tab does not show "The page you are looking for doesn't exist".
How can I do this?
Thanks
0
6
6 comments
ModeratorWes
@Andy - Can you give me a screenshot of exactly what you are referring to as I think you are referring to the page title but wanted to make sure.
Thanks.
0
Andy
Here is the title of the tab I am trying to change:
0
ModeratorWes
@Andy - This should work for you. On the JS tab insert the code below right below the $(document.ready) function
if ($(".error-page").length > 0){
document.title = 'Sorry - Try again!';
}
By default the error page has a class associated to it called error-page. If you have customized that page then use another class that you only used on that page.
0
Andy
Thank you Wes, it worked!
0
Kevin
Hello,
I am looking to do this for the Submit a request page. I believe that the title of the page is .request-container, but it still does not work. Can you provide any insight?
Thank you,
0
Vlad
Hi Kevin, you can achieve that if you can just paste this little modified Wes's code on the top of your Submit a request page template:
0