I'm working on a Ecommerce website which consists of a landing page, product search page and a details page designs. I got struck with the header alignment design. So, I tried to refer a lot of websites where there are different types of headers as in the following screenshots where they use headers with both fluid containers and normal containers. And there is also a different combination on page content containers with respect to header containers.
What is the best practice and there is any specific reason behind the header and content alignment? should different kind of webpages like a landing page, blog and other pages should have different kind of headers and content alignments?