By default, rows in Zurb Foundation 4 and 5 run at a max width of 1000px, even on very large monitors, which creates margins on either side of the content. How do I make it run at full screen without affecting the responsiveness of the design?
Add the following code to the CSS file:
.row {min-width:100% !important;}
I think the best way to do this is like this.
Add this into your css or a custom css-
.row.full-width {
width: 100%;
max-width: 100%;
}
Then in your html, do this-
<div class="row full-width"> </div>
This will allow you to keep the grid system in tact in the event you only want to use full screen for a header or footer.
If you are using Sass/Compass, the zurb-foundation
gem, or a customized Foundation distribution, you can set the $row-width
variable. This will flow through anywhere else it's used. You can also adjust, for example, the number of columns, gutter width, and so on.
The bottom of the grid documentation explains more: http://foundation.zurb.com/docs/components/grid.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With