Skip to content
Discussion options

You must be logged in to vote

Hey, the CSS classes are here and you just need to use CSS selectors correctly to target them, that's outside the scope of Docusaurus to teach you that


.breadcrumbs__link:not:first-child

.breadcrumbs__link is the first child of its parent, so... this is expected that :not:first-child does not match it. I can't teach you how :first-child works, there are many CSS resources available online for that


a .breadcrumbs__link > span

The breadcrumbs__link class is on the a directly and not a child of it so your selector is wrong and should be a.breadcrumbs__link instead of a .breadcrumbs__link.

Again that's basic CSS knowledge, totally outside the scope of Docusaurus

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZenaMel
Comment options

Answer selected by ZenaMel
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