Categories
code Solutions Web

Bootstrap3 fluid container with custom width sidebar

A simple way to get a custom size side bar alongside a Bootstrap3 container-fluid.

I was looking for a way to get a fluid container live side-by-side with a custom width sidebar.
A custom width sidebar can’t be achieved with a Bootstrap column, and is a total mess to get right with floats if you then need a fluid container to get a grid system for the main section.
So, here’s one solution:

JSFiddle: https://jsfiddle.net/6sfog80k/

Leave a Reply

Your email address will not be published. Required fields are marked *