MrSkippy
MrSkippy

Reputation: 348

set a different height for the bootstrap fixed navbar

I am using bootstrap for my portfolio, and i want the fixed navbar to have a height of 150px. Anyways, I can't figure out how to do this.

Is there anybody here who knows how to do that ?

Many thanks in advance!

Upvotes: 0

Views: 112

Answers (3)

David
David

Reputation: 1889

maybe something like this

   .navbar {
        height: 150px;
    }

DEMO

Upvotes: 1

doru
doru

Reputation: 9110

One way to do it, but not the best, is by adding a style attribute to your navbar div in which you set height to 150px, like so:

<div class="navbar navbar-fixed-top" style="height: 150px;">

Upvotes: 1

royhowie
royhowie

Reputation: 11171

Okay, so you'll need to add it to your CSS like this:

    .navbar {
        height: 150px;
    }

Upvotes: 1

Related Questions