Whenever I set my max-width to 1200, and preview the website- everything seems to be aligned to the left. I’ve tried aligning it to center but it only works when I get rid of the max-width. If you see the right side of the nav bar- there is some white space. How do I fix that?
Yeah there is, instead of giving the nav bar the max width give it to the container (you deleted that one) but you can add it again.
Containers don’t let you modify their width but the way to do this is insert a div block and assign it a class called container, give that div block a max with of 1200 and then erase the div. Now select the element container and assign it the class “container” and the container automatically going to grow to that max width.