Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How to hide breadcrumbs in portals.

Posted on by

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

*This post is locked for comments

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to hide breadcrumbs in portals.

    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.

  • riya37 Profile Picture
    riya37 on at
    RE: How to hide breadcrumbs in portals.

    it is the default one.

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to hide breadcrumbs in portals.

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

  • riya37 Profile Picture
    riya37 on at
    RE: How to hide breadcrumbs in portals.

     I tried clearing cache then too it is showing me.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How to hide breadcrumbs in portals.

    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
    riya37 on at
    RE: How to hide breadcrumbs in portals.

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

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: How to hide breadcrumbs in portals.

    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.

  • Verified answer
    Arpit Shrivastava Profile Picture
    Arpit Shrivastava 7,518 User Group Leader on at
    RE: How to hide breadcrumbs in portals.

    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
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: How to hide breadcrumbs in portals.

    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.

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    Shahbaaz Ansari 6,203 on at
    RE: How to hide breadcrumbs in portals.

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans