salcode / bootstrap-genesis

WordPress Genesis Child Theme setup to use Bootstrap, Sass, and Grunt
MIT License
185 stars 63 forks source link

navbar is not static #169

Closed ClintonGallagher closed 7 years ago

ClintonGallagher commented 7 years ago

Genesis 2.5.2 Bootstrapped Genesis 0.8.2

navbar-static-top is present in the source but the navbar is not sticky: the navbar scrolls with the page when the page is scrolled.

salcode commented 7 years ago

Hi Clinton,

You're correct the default nav for this theme is not sticky, which is the behavior of Bootstrap's static nav. See http://getbootstrap.com/examples/navbar-static-top/

You may have noticed my personal site, https://salferrarello.com/ does have a fixed (a.k.a. sticky) nav. I added this behavior using additional code which I've made available at https://github.com/salcode/bootstrap-genesis-fixed-nav.

I hope that helps. Have a great rest of your weekend.

ClintonGallagher commented 7 years ago

Gross oversight on my part. Pun intended, the additional code "fixes" my ignorance.

salcode commented 7 years ago

Ha ha, no worries. I'm glad you got it sorted.

By the way, if you add your site to the list of sites using Bootstrap Genesis in the Wiki, it would be great to see more sites listed. 😀

ClintonGallagher commented 7 years ago

I’ll list the site when its deployed Sal. Your work deserves the recognition

-- Clinton Gallagher