Change URL of Header Logo - Javascript

I want to change the link that is in the header area.

I don't see a place to change that in the app settings, so it seems I will need to use javascript to get this done.

Anyone have anything that will change the URL of the header logo?

 

Thanks

Jason

Works perfect. Thanks!

Hello Jason,

 

Try below code

$(document).on('knack-scene-render.any', function (event, view) {
var newUrl = "https://google.com";
$("#knack-logo a").attr("href", newUrl);
});

 

Thanks,

Sunny Singla

ssingla1985@gmail.com

+919855089359