Here’s my layout sample on bootply
Does this require a CSS ‘hack’ or did I get my markup wrong to begin with?
(or, is this the default intended Twitter bootstrap design)?
Here’s my layout sample on bootply
Does this require a CSS ‘hack’ or did I get my markup wrong to begin with?
(or, is this the default intended Twitter bootstrap design)?
2
Answers
This is what a default Jumbotron looks like. I’m not sure why you didn’t just check the Bootstrap documentation to see their basic example?
Edit: The reason why your Jumbotron isn’t the same width is because your table is wrapped in a
.row
class which hasmargin-left: -15px
&margin-right: -15px
applied to it.To fix your issue, wrap your
.jumbotron
in a<div class="row"></div>
You should always place your elements within a column though. e.g.
.row > .col-sm-12 > .jumbotron
Just put the jumbotron in a row div:
OR use css to increase the width and adjust the position like:
(not recommended)