Center allign

What would I have to do if I wanted to make the Breadcrumb center the page? (in terms of width)

CSS has a style attribute “justify-content”. The problem is that “justify-content” only applies to flex and grid containers. Adding “display: flex;” or “display: grid;” to your .breadcrumb fixes this problem. However, I think you want to use “display: flex;”.

With “display: flex;”:

With “display: grid;”:

Don’t forget to justify the content!


1 Like