Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full width header/footer #73

Closed
willy695 opened this issue Feb 24, 2022 · 2 comments
Closed

Full width header/footer #73

willy695 opened this issue Feb 24, 2022 · 2 comments

Comments

@willy695
Copy link

Hi all, how do you make header full width? Like container-fluid in Twitter Bootstrap..

@andybrewer
Copy link
Owner

footer, header and main have padding by default: https://github.com/andybrewer/mvp/blob/master/mvp.css#L62

You can create a custom style in another styelsheet or inline in the HTML to override that.

Otherwise, body, div and section have no padding so they'll be full-width by default.

For example:

<body>
   <div>Full-width content</div>
   <main>
      <div>Padded content</div>
   </main>
</body>

@willy695
Copy link
Author

willy695 commented Feb 24, 2022

Gottcha, thank you for such prompt reply, I'll simply pull the nav out of the header and create a new class for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants