I have a site using Bootstrap, but I want to redefine left and right padding with only col-md-6 columns (set them to 0px). Not sure how to do this, my current setup ...
CSS
.fix-gutters > [class^="col-"], .fix-gutters > [class*=" col-"] { padding-right: 0px; padding-left: 0px; }
and applying it to
<div id="main" class="row fix-gutters"> .... <div class="col-md-6"> ... etc.
but col-md-6 sometimes gets a replacement (Wordpress loop) with the col-md-12 div, and I don't want .fix-gutters to be used in this case.
NOTE. I need the override to run at the same level as the col-md-6 command. Example
<div class="col-md-6 overide-class">
source share