Totara Learn Open Discussions

Remove breadcrumbs only on tenant

 
Sven Spillebeen
Remove breadcrumbs only on tenant
بواسطة Thursday, 14 September 2023, 4:08 AM - Sven Spillebeen
 

Hey


I was wondering if it is possible to remove the breadcrumbs on a tenant.

I have tried with custom css but now the breadcrumbs are gone everywere.


Kind regards

علامات:
Craig Eves
Re: Remove breadcrumbs only on tenant
بواسطة Monday, 18 September 2023, 7:03 PM - Craig Eves (Totara Support)
مجموعة Totara

Hi Sven

What version of Totara are you using?

Are you using Custom tenant branding with Custom CSS to override the site branding?

If that is how you are doing this does the custom CSS added on a site level remove the breadcrumbs?

regards

Sven Spillebeen
Re: Remove breadcrumbs only on tenant
بواسطة Tuesday, 19 September 2023, 5:42 AM - Sven Spillebeen
 

Hi

We have totara Version 17.7 (Build: 20230525.00)

I have placed the custom css in appearance -> additional HTML.

This removes the breadcrumbs everywhere.


I have not found where to put the custom css on tenant level. what I am looking for.

we work with the ventura theme


kind regards


Craig Eves
Re: Remove breadcrumbs only on tenant
بواسطة Tuesday, 19 September 2023, 1:34 PM - Craig Eves (Totara Support)
مجموعة Totara

Hi Sven

There should be an option under Ventura for Custom tenant branding to allow custom css for the tenant to be added

regards

Sven Spillebeen
Re: Remove breadcrumbs only on tenant
بواسطة Wednesday, 27 September 2023, 2:07 AM - Sven Spillebeen
 

Hey

i saw that option and tried it but did not work:

or did i do something wrong?


Craig Eves
Re: Remove breadcrumbs only on tenant
بواسطة Wednesday, 27 September 2023, 6:37 PM - Craig Eves (Totara Support)
مجموعة Totara

Hi Sven

I tried adding the custom CSS to the site brand and this didn't remove the breadcrumbs so wouldn't remove from tenant either. Can you check if this is the same for you - I will ask a front end developer on the code that could do this.

regards


Sven Spillebeen
Re: Remove breadcrumbs only on tenant
بواسطة Thursday, 5 October 2023, 4:55 AM - Sven Spillebeen
 

Hey

Sorry for late reply.
when I add the CSS to additional HTML it removes the breadcrumbs everywhere.

When added to the site brand it did not work.

help from a front end developer would be appreciated.


thank you

Simon Chester
Re: Remove breadcrumbs only on tenant
بواسطة Thursday, 5 October 2023, 3:39 PM - Simon Chester
مجموعة Totara

Hi Sven,

Only safe HTML is allowed in the "Custom footer" setting for security reasons, so the style tag will be getting stripped.

In order to add custom CSS you'll need to add the styles to the "Custom CSS" setting in the site-level theme settings. If you want to target a specific tenant only, there are tenant specific classes added to the body tag that you can use, e.g.

.tenant-user-mytenantidentifier .breadcrumb-nav { … }

Kind regards