[THEME] Business Casual - CSS design question

Post Reply
Cryss
Ssr. Bludit
Posts: 18
Joined: Thu Dec 31, 2015 6:34 pm
Location: Germany
Contact:

Hi,

I've tried to figure out how to make the navbar the same width as the content boxes below with firebug but without success. Can somebody give me a hint?

Thanks in advance,
Chris
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You can try the following for the navigation bar:

Code: Select all

.navbar-default {
    background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
    border: medium none;
    margin: 0 auto 20px;
    width: 1170px;
}
And the following for the content area:

Code: Select all

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}
The content area is not centered. This should be fixed.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Cryss
Ssr. Bludit
Posts: 18
Joined: Thu Dec 31, 2015 6:34 pm
Location: Germany
Contact:

Thanks. I'll try that!
Post Reply