I added an image logo to the left of my navbar but for some strange reason my menu has shifted and is no longer aligned in the center with my logo. I have used flexbox and the property justify-content: space-between… but i don’t understand why my logo image has moved my menu.
Set the following property for your
#header in CSS:
Thank you so much! This was seriously bothering me yesterday evening.
I suggest you to read couple of topics that are related to Flexbox in order to better understand it and the general difference between the container and its items, and of course the properties that you can assign to each other.
May be useful: https://css-tricks.com/snippets/css/a-guide-to-flexbox/