Custom Breadcrumb not working

Highlighted
Regular Contributor

Hi I have created the breadcrumb with custom code like this 

 

<div class="breadcrumb-menu">
<div class="page-center">
<div class="hs-breadcrumb-content clearfix">

{% if dynamic_page_hubdb_row %}
<ul class="hs-breadcrumb-menu">

<li class="hs-breadcrumb-menu-item first-crumb home"><a href="https://www.brainconcert.com?hsLang=en" class="hs-breadcrumb-label">Home</a><span class="hs-breadcrumb-menu-divider"></span></li>
{% if content.name|striptags == 'Courses' %}
<!-- <li class="hs-breadcrumb-menu-item"><a href="/courses" class="hs-breadcrumb-label">Courses</a><span class="hs-breadcrumb-menu-divider"></span></li> -->
{% elif content.name|striptags == 'eContent' %}

<li class="hs-breadcrumb-menu-item"><a href="/econtent" class="hs-breadcrumb-label">eContent</a><span class="hs-breadcrumb-menu-divider"></span></li>
{% endif %}

<li class="hs-breadcrumb-menu-item last-crumb"><span class="hs-breadcrumb-label">{{ dynamic_page_hubdb_row.hs_name }}</span></li>

</ul>
{% else %}
{% menu "my_menu " id="{{ module.breadcrumb_menu }}", overrideable=False, root_type="breadcrumb", flyouts=true, max_levels="1", flow="horizontal", label="Breadcrumb hs_name Menu" %}
{% endif %}
</div>
</div>
</div>

and my menu structure is 

Home/EContent

but its showing like this Home/Training/courses/EContent 

Reply
0 Upvotes
1 Reply 1
Highlighted
Community Manager

Hey @ramanverma2005     

 

I apologize for the delay in getting back to you. I am wondering if you were able to resolve this or if you still need assistance on this matter?     

 

Thank you

Sharon


Did my post help answer your query? Help the Community by marking it as a solution
Reply
0 Upvotes