Hide Logo Header for certain page

Hi @AndrewUK

I think I can help here as I kinda crossed this issue when writing this below. I think what’s happening here is the wrong event listener is being used. I think @BradStevens probably had the best approach.

In the post the issue was targeting only the log in pages. So I wrote in javascript if the log in section exists then add or removed a class routed the body and scene. I also used the page render event which works only for what you need.

You now can use .loginPage specify your target just to the log in page

Javascript

$(document).on('knack-page-render.any', function() {
   if ($('.kn-login').length) {
     $('#knack-body, .kn-scenes').addClass('loginPage');
   }else{
     $('#knack-body, .kn-scenes').removeClass('loginPage');
   }
});