[Reloaded] Container-app template and responsive design
«Container-app» is a mighty sexy template. While «Fixed layout» and «Fluid layout» are ok, this one has much more appeal on the presentational level of webdesign.
For me the persuasive website works on these four levels:
- Technology
- Presentation (Bootstrap)
- Content
- Conversion
It would be great if you could make this template work flawlessly in regards of «Responsive design».
Here's what I use for the moment - and it"s not working well:
html, body {background-color: #eee;} .container > footer h5, .container > footer p {text-align: center; /* center align it with the container /} .container {width: 860px;} / The white background content wrapper / .content {background-color: #fff; padding: 20px; margin: 0 -20px; / negative indent the amount of the padding to maintain the grid system / -webkit-border-radius: 0 0 6px 6px; -moz-border-radius: 0 0 6px 6px; border-radius: 0 0 6px 6px; -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.15); box-shadow: 0 1px 2px rgba(0,0,0,.15);} / Page header tweaks / .page-header {background-color: #f5f5f5; padding:20px 20px 10px; margin: -20px -20px 20px;} / Styles you shouldn't keep as they are for displaying this base example only / .content .span6, .content .span3 {min-height: 500px;} / Give a quick and non-cross-browser friendly divider */ .content .span3 {margin-left: 0; padding-left: 20px;} .navbar .btn {border: 0;}
@media (max-width: 480px) { .container {width: auto; padding: 0 20px;} .content .span6, .content .span3 {min-height: 0;} .content .span3 {padding-left: 0;} .hero-unit h1 {font-size: 30px;} }
@media (max-width: 768px) { .container {width: auto; padding: 0 20px;} .content .span6 {width: auto;} .content .span3 {width: auto;} .content .span3 {border-left: 0;} .content .span6, .content .span3 {min-height: 0;} }
@media (min-width: 768px) and (max-width: 980px) { .container {width: auto; padding: 0 20px;} .content .span6 {width: auto;} .content .span3 {width: auto;} }
@media (max-width: 980px) { .container {width: auto; padding: 0 20px;} .content .span6 {width: auto;} .content .span3 {width: auto;} }
Sorry, we're not looking into additional examples at this time. We'll revisit this issue if we decide to come back and support the container app layout again in the future.
Thanks though!
Thanks for your reply, Mark.