XF 2.2 How can I remove breadcrumbs from specific pages?

Luke247

Member
I want to remove the breadcrumbs from the "latest activity" page, "threads started by" page, and a couple others... How do I remove breadcrumbs from specific pages such as these?

Thank you
 

BassMan

Well-known member
Inspect the page and look for: data-template="name_of_the_template". You'll find it at the top where the<body> tag starts.

For instance, to remove the breadcrumbs on the Latest activity page you'll use this code:
HTML:
[data-template="latest_activity"] .p-breadcrumbs {
    display: none;
}
 
Top