web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to hide breadcrumbs in portals.

(0) ShareShare
ReportReport
Posted on by

I want to hide breadcrumb in portals. How this can be done.? 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    Hi Riya,

    you need to hide it from CSS like

    #breadcrumbs {

    display:none;

    }

    If you find it helpful, Please Mark My Answer as Verified.

    Best Regards,

    Shahbaaz

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    You can also modify the Web Template that you are using. For example the Layout 1 Column Web Template includes the following code for the page heading:

    <div class="page-heading">

     <div class="container">

       {% block breadcrumbs %}

         {% include 'Breadcrumbs' %}

       {% endblock %}

     {% block title %}

       {% include 'Page Header' %}

     {% endblock %}

    </div>

    </div>

    Remove the Breadcrumbs block or include from the web template.

    Hope this helps.

  • Verified answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Riya,

    If you are having access to web template code then you can go ahead with the solution provided by Aric.

    For few web templates you do not have access to the liquid code for example- FullPage, then you can write following CSS under Custom CSS control of webpage (Localized Content):

    .breadcrumb {

    display:none;

    }

     


    If found useful, please mark the answer as verified.


    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.com

     

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Riya,

    Seems you need to check the DOM from browser by pressing F12 how its generating . Here is an example of  breadcrumb which is showing inside <ul> . So you can see below we can hide the <ul> by using class id simply write         $('.breadcrumb').hide();  

    <ul class="breadcrumb">

    {% for crumb in page.breadcrumbs %}
    
    <li><a href="{{ crumb.url | escape }}">{{ crumb.title | escape }}</a></li>
    
    {% endfor %}
    
    <li class="active">{{ page.title | escape }}</li>
    
    </ul>
    

    Secondly you can go ahead with Aric's recommendation where you just need to find out where its basically adding and remove those tags.
    Hope this helps.

  • riya37 Profile Picture
    on at

      I removed breadcrumb block from web template but I can still see the breadcrumb in my portals.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Riya,

    It may be because of caching. Try clearing the server cache and see if it works.

    docs.microsoft.com/.../clear-server-side-cache

    Hope this helps.

  • riya37 Profile Picture
    on at

     I tried clearing cache then too it is showing me.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Can you share the web template code please? Is it the default one or you have created your own?

  • riya37 Profile Picture
    on at

    it is the default one.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    There are more than one web template which contains the block for breadcrumbs... have you deleted the correct one which is associated with the page template of the page you want to remove it from?

    If you have updated the web template and cleared the cache then it should work.

    Please recheck.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans