Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing Brand in Bootstrap 3 Navigation

First of all, I already visited the other topics with the same question, not any answers for me.

Here is the bootstrap 3 nav:

enter image description here

As you can see in left, there is a "Brand" text there, for removing that in the source I removed:

<a class="navbar-brand" href="#">Brand</a>

The results is something like:

enter image description here

As you can see the "Brand" is removed but there is empty space there which I can not get rid of... .

How should I remove that empty space left from "Brand" and let the menu start from the left?

Thanks

like image 805
behz4d Avatar asked Mar 04 '14 14:03

behz4d


1 Answers

Try adding the below to your CSS:

.navbar .container-fluid, .navbar-collapse {
    padding-left:0;
}
.navbar-collapse.in {
    padding-left:30px;
}

Demo Fiddle

like image 179
SW4 Avatar answered Oct 20 '22 19:10

SW4