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

CSS Bootstrap 4 Basics (Retired) Getting to Know Bootstrap 4 Creating a Simple Page

Pablo Mello
Pablo Mello
443 Points

The last alignment of the form is simply not working. I tried to use the offset grid suggested and nothing happened.

<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>Full Stack Conf</title>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
  </head>
  <body>

    <div class="container text-center">
    <h1 class="display-1">Full Stack Conf</h1>
    <p class="lead">Coming Soon, a One-day Conference About All Things Javascript!</p>


 <!--The last bit col-lg-offset-3 is not working -->
    <div class="col-lg-6 col-lg-offset-3">
    <div class="input-group">
      <input type="text" class="form-control" placeholder="Enter your Email for info">
      <span class="input-group-btn">
        <button class="btn btn-secondary" type="button">Sign up</button>
      </span>
    </div>
    </div>
    </div>

  </div>

    <!-- jQuery first, then Tether, then Bootstrap JS. -->
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js" integrity="sha384-vBWWzlZJ8ea9aCX4pEW3rVHjgjt7zpkNpZk+02D9phzyeVkE+jo0ieGizqPLForn" crossorigin="anonymous"></script>
  </body>
</html>

4 Answers

Roberto Torres Pacheco
Roberto Torres Pacheco
4,606 Points

GOT IT WORKING, PABLO! The updated way to offset columns was in description. Just replace the class col-lg-offset-3 with offset-lg-3 :) Hope this works!

Josh Keenan
Josh Keenan
20,315 Points

Guil Hernandez Tagging you so you can see this

sharron duggan
sharron duggan
516 Points

could not fix this, any suggestions?