Closed adamglenn closed 3 years ago
Also, I assume this would allow me to pass in a variable, so <r:breadcrumbs link_class="{$breadcrumbLinkColor}" />
.
Would the class be applied to the <a>
or the <li>
?
The <a>
.
link_class
is now a valid option for <r:breadcrumbs>
Example:
<r:breadcrumbs ul_id="fancycrumbs" ul_class="breadcrumb" " link_class="super-fancy" />
I've added link_class
to the docs for r:breadcrumbs
on CleanSlateCMS.
AG: When you confirm this is working, kindly close this issue.
This actually doesn't work. What it does is apply an attribute of link_class
to the breadcrumb html i.e. <a link_class="whatever-my-class-is">
. Should output <a class="whatever-my-class-is">
.
@adamglenn This should be fixed. Can you verify and close?
I want to be able to add utility classes to links in breadcrumbs to make it easier to use with new design system. so something like
<r:breadcrumbs link_class="text-white" />
.