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

Cody Mumford
Cody Mumford
11,531 Points

Adding the top padding of 40px breaks my bootstrap?

Title says it all. I added my body { padding-top: 40px; } Broke my bootstrap navbar. //added it to application.css

Repository:

https://github.com/cody-mum1228/treebooktutorial

1 Answer

Kevin Korte
Kevin Korte
28,149 Points

What do you mean broke? It should just put padding at the top of the body right? What did it do that you did or did not expect it too?

Cody Mumford
Cody Mumford
11,531 Points

good question. I should've included a picture. [img]http://i.imgur.com/I4MLkmi.png[/img]

Kevin Korte
Kevin Korte
28,149 Points

For the code, it looks right. What are you trying to accomplish with the body padding?