magento2 – Magento 2 Adds a custom CSS class to bread crumbs

Start by creating a new module for breadcrumbs.
you must rewrite the css file with your custom module using di.xml from your front-end scope:


Then, in your custom phtml file like namespace / module / view / frontend / templates / html / breadcrumbs.phtml, you can add your class:

and your personalization css file: _breadcrumb.less will go to
namespace / module / view / frontend / web / css / source / where you have your changes css:
_breadcrumb.less content:

.breadcrumbs {color: somecolor;}

Please see the complete example on this resource.