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

nicholas maddren
nicholas maddren
12,793 Points

Can't change colour of the ends of the navbar (Bootstrap)

Here is an example of exactly what I mean:

http://content.screencast.com/users/nickmadd/folders/Jing/media/263d85f4-14e7-4b20-a48f-b9fde96f88a9/2014-07-05_0151.png

As you can see I have a fixed nav any I cant seem to be able to get the edges of it coloured :(

Here is my HTML structure:

<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
            <div class="container nav">
                <div class="row">
                    <div class="col-xs-6 col-sm-6">
                        <img src="media/images/logo.png" alt="Driven Car Sales" class="img-rounded logo-custom">
                    </div>
                </div>
            </div>
        </nav>

I just don't know how to edit those edges.

Any help would be great thanks :)

2 Answers

Stephan Kuster
Stephan Kuster
7,168 Points

Does your navbar-default have a background colour? It looks like the edges still have the colour set to white.

nicholas maddren
nicholas maddren
12,793 Points

So do I need to go into the bootstrap css to change this? Thanks

Stephan Kuster
Stephan Kuster
7,168 Points

Yes, that is what I would do