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

Ruby Build a Simple Ruby on Rails Application Customizing Forms Installing simple_form

Guilherme Oliveira
Guilherme Oliveira
3,463 Points

Problem with alignment with .form-horizontal

When I apply the form-horizontal class to the _form.html.erb, it appears on my page: Content: and the form comes really super close to the content label - I tried changing padding and margin on bootstrap but I did not have any luck - someone can help me on how to fix this?

Hi. What file were you changing? What actually did you type?

Guilherme Oliveira
Guilherme Oliveira
3,463 Points

I was changing the file bootstrap.css on the .form-horizontal input area - I tried typing margin-left: 5; and padding-left: 5;

But it did not gave me any result at all