Hide bread crumbs with css

Hi - Would very much appreciate help from someone with CSS skills. I’m trying to hide the bread crumbs on a certain doctype.

I’ve tried this on a client script for the doctype in question, but it doesn’t work :frowning:

$("div[id = navbar-breadcrumbs]").css({'visibility': hidden});

image

many thanks!

Hi @Shaun,

Please apply it.

frappe.ui.form.on('Your DocType', {
	refresh: function(frm) {
	    $("#navbar-breadcrumbs").css({'visibility':'hidden'});
	}
});

Then reload and check it.

Thank You!

2 Likes

Perfect. Thanks very much @NCP