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


navbar Bootstrap

Have you seen that when you put the class navbar navbar-fixed-top the navbar is completely fixed to the top obviously, but once you remove the navbar-fixed-top then you see a little white space and the borders with a little radius?

Ok, what I want is just remove that radius on the navbar but I do not want the navbar fixed to the top, is necessary to do it with css or is there any special class on bootstrap?

1 Answer

Domen Stojic
Domen Stojic
31,376 Points
navbar-? {
    border-radius: 0 !important;

change ? to whatever you need

Basically what we did here is rewrite attribute to a new state! You can use !important if you are sure you don't want to change this attribute later!

Yes, I did it yesterday that way you did It, but I was asking if Bootstrap does not have an special class for that. It seem they do not have it.

Thanks anyways.