Optimizing all parts of your store for mobile users is key.
You need to make sure that your header is clear to mobile users just like to desktop users, and isn’t clunky.
The menu hamburger should be on the left, while the cart should appear on the right side of the header (menu). Any additional elements like search and login icon should appear left to the cart icon.
Your header needs to establish a sense of trust, helpfulness, comfort, and credibility. 2) If your header elements are misaligned or cluttered together, it annihilates all of these impressions.
Your store’s header should stick around throughout the shopping experience, but keep it concise. Always double check that your header is on all pages (except for checkout)