Hi guys,
I want to customize Yii Breadcrumbs so it return the following output
For now it return output as shown in the image bellow
Kindly assist me
Hi guys,
I want to customize Yii Breadcrumbs so it return the following output
For now it return output as shown in the image bellow
Kindly assist me
You can change it here
https://www.yiiframework.com/doc/api/2.0/yii-widgets-breadcrumbs#$homeLink-detail
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>',