html - How to remove extra whitespace around body from Zurb Foundation -
i'm using foundation framework website , there's white-space around the whole body (the gutter). remove gutter i've tried:
- *{margin:0;padding:0;}
- body{margin:0;padding:0;}
- downloading custom foundation gutter set 0
none of has worked out me. can done remove white-space?
this not margin issue max-width issue. using devtools you'll find .row
class has max-width of 62.5rem, think standard. (i work on site has modified width of 72.5rem.)
i think it's idea maintain version of limitation if have normal page content people have read on large screens. can safely override want 100% width.
you can adding class overrides default max-width , selects relevant element sufficient specificity in style sheet.
alternatively, can refrain using class .row
on outer containers want span page. allows option of putting rows within. way could, example, have teal background span page keep content constrained , aligned normal grid-based content below.
you can read more foundation grid here, including how customize row width via sass variables if you're sort of thing.
Comments
Post a Comment