Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Hero-Unit 100% width w/ Twitter Bootstrap

I'm trying to get myself comfortable with Twitter BS.

Is there away to make the hero-unit 100% width of the browser, whilst containing the columns in a fixed width?

like image 507
Michael Avatar asked Jan 16 '23 13:01

Michael


1 Answers

Wrap .hero-unit in .container-fluid and .row-fluid (or don't even wrap in anything). "Fluid" in Bootstrap term means that in will take 100% width of the browser window. Wrap your other content in "fixed" .container and .row.

See how I've done this in my fiddle.

like image 149
Pavlo Avatar answered Jan 18 '23 02:01

Pavlo