I need to add my own CSS class to the <ul> tag in breadcrumbs.
in Magento_Catalog/templates/products/breadcrumbs.pthml
the code look like this
<div class="breadcrumbs"></div>
<script type="text/x-magento-init">
{
".breadcrumbs": <?= $viewModel->getJsonConfigurationHtmlEscaped() ?>
}
</script>
And this code is rendered to the following on frontend.
<div class="breadcrumbs"><!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<ul class="items">
<li class="item home">
<a href="http://example.com/" title="Go to Home Page">Home</a>
</li>
<li class="item product">
<strong>Test product</strong>
</li>
</ul>
</div>
I want to add my own css class for example .breadcrumb-style to the <ul> tag.
What should I do? I did find the _breadcrumb.less file, which allow me to edit the exiting class like .itmes, but I don't know how to add more CSS classes.