Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating Header #68

Closed
jakepearson opened this issue Mar 22, 2012 · 3 comments
Closed

Floating Header #68

jakepearson opened this issue Mar 22, 2012 · 3 comments

Comments

@jakepearson
Copy link

Hi,
Most twitter bootstrap sites have the header glued to top of the browser window. The default jekyll bootstrap does not, how do I enable it in the css?

thanks,
Jake

@jasonm23
Copy link

jasonm23 commented Jul 1, 2012

In _includes/themes/twitter/default.html

Change line29:

 <div class="navbar">

To:

 <div class="navbar navbar-fixed-top">

You'll also need to add top margin to the content container...

line 42:

<div class="container" style="margin-top: 50px;">

and you're done.

@jasonm23
Copy link

jasonm23 commented Jul 1, 2012

issue needs closing.

@jasonm23
Copy link

jasonm23 commented Jul 1, 2012

@jakepearson -- please note the 50px margin needs to be added at line 42 not line 31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants