container-fluid was originally taken out of Bootstrap 3.0, but added back in 3.1.1
To fix this, you can either:
-
Use the newer version of Bootstrap style sheet
Demo with New Style Sheet in Fiddle
-
Or add in the class yourself
The
.rowadds a15pxmargin to the left and right. Since.container-fluidfills up100%of the screen width, the extra margin space causes overflow issues.To fix this, you need to add padding to
.container-fluidclass.container-fluid { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }Demo with Custom container class in Fiddle