Skip to content

Breadcrumb appearance questions #1989

Answered by vnbaaij
pkothare asked this question in Q&A
Discussion options

You must be logged in to vote

You can use the Class and/or Style parameters to change the appearnace of items anyway you like (Class and Style are available to any component derived from FluentComponentBase)

Doing somthing like

BreadcrumbDefault.razor

<span>
    <FluentBreadcrumb>
        <FluentBreadcrumbItem Class="parent" Href="#">
            Breadcrumb item 1
        </FluentBreadcrumbItem>
        <FluentBreadcrumbItem Class="parent" Href="#">
            Breadcrumb item 2
        </FluentBreadcrumbItem>
        <FluentBreadcrumbItem>Breadcrumb item 3</FluentBreadcrumbItem>
    </FluentBreadcrumb>
</span>

and

BreadcrumbDefault.razor.css

::deep fluent-breadcrumb-item.parent {
    color: #ff6a00;
}

Will give you:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pkothare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants