-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to set gutter, margin and breakpoins to my needs? #241
Comments
+1 |
You can do this Gutter You can find adjust the gutter by changing the following:
Breakpoints |
@jan-dh what css file are you referring to? |
@jan-dh How do you set the padding for all the col-x elements? If I'm not totally wrong, then you need to select all col-(xs|sm|md|lg) elements and re-set the padding and do all that again for each new breakpoint. UPDATE .row {
margin-right: -$gutter/2;
margin-left: -$gutter/2;
}
[class|="col"]:not([class*="offset"]) {
padding-left: $gutter/2;
padding-right: $gutter/2;
} |
@jan-dh You got us pointed in the right direction but the .row {
margin-left: 0;
margin-right: 0;
}
[class~="col"]:not([class*="offset"]),
[class*="col-"]:not([class*="offset"]) {
padding-left: 0;
padding-right: 0;
} |
I need to set gutter, margins and breakpoints to other values, what's the best way to achieve that?
Thanks.
The text was updated successfully, but these errors were encountered: