In case you prefer not to create a custom Bootstrap build, there is a CSS method available to override the default Bootstrap padding (gutter) between columns.
/* Remove spacing between middle columns */
.row.no-gutter [class*='col-']:not(:first-child):not(:last-child) {
padding-right:0;
padding-left:0;
}
/* Remove right padding from first column */
.row.no-gutter [class*='col-']:first-child {
padding-right:0;
}
/* Remove left padding from last column */
.row.no-gutter [class*='col-']:last-child {
padding-left:0;
}
Check out the demo here:
Another approach to reduce gutter by half (15px):
.row-smaller {
margin-left: -7.5px;
margin-right: -7.5px;
}
.row-smaller > div[class^="col"] {
padding-left: 7.5px;
padding-right: 7.5px;
}
See the demo for this technique here:
This method is also compatible with Bootstrap 4: