Disable App Logo Link

Hi Knack Community,

I am looking for some code to disable the link on the app custom logo. Currently, when you click the app logo (the one that displays at the very top of each page) it takes you back to the root page. Sometimes this is desirable and sometimes it is not, so I am looking for a way to disable it.

Any help would be greatly appreciated!



Perfect! Thank you, Shrey! Works great :-)

I added the following CSS to hide the cursor:


#knack-logo > a > img {
cursor: default;

Hi 8963304788.

This code seems to work:

$(document).on('knack-scene-render.any', function(event, scene) {

   document.querySelector("#knack-logo > a").removeAttribute("href");


Can this code also be used to hide a Knack logo on a specific page? What command can I use other than ‘removeAttribute’?