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 Basics Building Forms With Bootstrap Add Custom CSS to Your Bootstrap Site

3 Answers

If you are using bootstrap, add a column offset on your nav div to get the desired effect.

You need to add the offset in the form of a class on the nav div. I am unable to get more specific since your code is not referenced here, but this link should help you out.

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi there...

I don't see why you can't achieve the layout you want in Bootstrap alone but you will no doubt want to write your own CSS anyway in your project which is perfectly fine.

Just make sure you when you link the stylesheets that you do it below the bootstrap stylesheet files and you'll be good to go! :-)

Aakash Srivastav
seal-mask
.a{fill-rule:evenodd;}techdegree
Aakash Srivastav
Full Stack JavaScript Techdegree Student 11,638 Points

I am unable to get the above result using Bootstrap because when I searched in the documentation , I found out that I can lay down the nav items only in the 'start' , 'middle' , or 'end' by using 'justify-content-start', 'justify-content-center' and 'justify-content-end' respectively. But in the above layout , the nav items are somewhat in mid between the start and centre of the nav. So is there a way in Bootstrap to solve this problem?