I'm trying to add some JS to hide the info bar on certain scenes but the solution I found isn't working for me. Here is what I've tried.
$(document).on('knack-scene-render.scene_41', function(event, scene) {
var myElement = document.querySelector(".kn-info-bar");
myElement.style.display = "none!important";
});
and ideas about what I'm doing wrong?
thanks!