I would like to have a fixed header with a logo and a main navigation at the top of my site. This can be done easily enough with CSS and position:fixed with 100% width, however, I want my fixed header to adapt responsively with the design and have it constrain to the same width, while remaining centered. The logo should stay in the same place, left aligned to the left side of the content area. When it reaches mobile layout the navigation will change to a hamburger menu (while still remaining responsive with the fixed header). Hope this all makes sense. I’m breaking my brain trying to figure this out…
Is there any way to achieve this using Bootstrap 3?
Note that as usual with all fixed elements you have to account for the space that they take up so you cannot have varying height headers or have content that will wrap. You can get around this to some degree using media queries to increase the headers height (and the padding-top on the content) as the page gets smaller.