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});


many thanks!

Hi @Shaun,

Please apply it.

frappe.ui.form.on('Your DocType', {
	refresh: function(frm) {

Then reload and check it.

Thank You!


Perfect. Thanks very much @NCP