How to customize Breadcrumbs

Hi guys,

I want to customize Yii Breadcrumbs so it return the following output
What Breadcrumbs should return

For now it return output as shown in the image bellow
What Breadcrumbs return

Kindly assist me

You can change it here$homeLink-detail

1 Like

Thank you for your prompt reply.

and how can I remove tag

@tri How to customize the link? I mean, add custom classes?

For instance, I try with itemTemplate as following, but the text for the label is returned as literal {label} as the url tag too:
'itemTemplate' => '<li class="breadcrumb-item text-sm"><a class="opacity-5 text-dark" href="{url}">{label}</a></li>',