Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Tatiana Frambach
7,791 Pointsmy bootstrap container is on top of the other
I'm developing a homepage that has, so far, 2 bootstrap containers. What happens is, the second one is appearing on top of the first, instead of after it. What am I doing wrong here?
<!-- hero cover -->
<div class="container-fluid hero-cover">
<img src="images/cover-odonto.jpg" class="img-responsive">
<div class="row">
<div class="col-md-12 cover-text">
<h1>Some Text</h1>
<h3> Some secondary text</h3>
</div> <!-- / col -->
</div> <!-- / row -->
<!-- pricing tables -->
<div class="row">
<div class="col-md-5 col-sm-6">
<ul class="price">
<li></li>
<li></li>
<li></li>
</ul>
</div> <!-- / col -->
<div class="col-md-5 col-sm-6">
<ul class="price">
<li></li>
<li></li>
<li></li>
</ul>
</div> <!-- / col -->
</div><!-- / row -->
</div> <!-- / container -->
<!-- beneficios -->
<div class="container beneficios-table">
<div class="row">
<div class="col-sm-12">
<p><h2>Some title here</h2></p>
</div> <!-- / col -->
</div> <!-- / row -->
<div class="row">
<div class="col-sm-12">
<p><h3>Another Title</h3></p>
<p><h4>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</h4></p>
</div> <!-- / col -->
</div> <!-- / row -->
</div> <!-- / container -->
Thanks in advance.
2 Answers
Chyno Deluxe
16,936 PointsHi Tatiana, can you provide us with your CSS as well so that we can see what is happening in the CSS as well.
Tatiana Frambach
7,791 Pointscan anyone help me here?
Tatiana Frambach
7,791 PointsTatiana Frambach
7,791 PointsThere you go. :)