BS Navbar not showing page sections

Can’t figure out why my Navbar isn’t displaying the content of my <li><a href="#">ABOUT</a></li> text (i.e, my page sections).



Any thoughts? The full code can be viewed here.

Not sure what you mean?

Are you using the CDN for bootstrap that is the alpha 4.0 version? I’ve had major issues with that version and revert back to the 3.3.7 version.

Try that out and see if it works :smiley:

1 Like

Well that’s just strange.

I was, and I just changed it to 3.37… but my navbar is still showing a blank. :thinking:

[minutes later]

It’s definitely something with the CSS though, because when I remove both 3.3.7 and 4.0 then a navbar of sorts appears; though it lacks any sophisticated styling (just an unordered list).

See what I did:

Does that work for you? I’m still getting nothing for my myNavbar


I was collapsing myNavbar with this class: class="collapse navbar-collapse". An idea I got from following w3s advice, so I’m not sure why it worked for them but not for me.

In any case, when I removed that class, my navbar content showed up.