Okay, I'm trying to get my navbar to stick to the bottom of a 25px tall header that I have at the top of my page. I only want my navbar to stick (become fixed — position: fixed
) when it reaches the bottom of that header.
A link to the CodePen I set up can be found below. I apologize for all the extra CSS and JavaScript/jQuery stuff you'll see.... It's all part of the site/design though.
I just can't get my navbar (located at the bottom of the screen) to become fixed when it reaches the bottom of the 25px (black-ish) header at the top of the screen. I've tried 10+ solutions from different places and none of them are doing the trick for me....
(not close it) but
doesn't change anything (it still functions the same) and it just looks odd to me and makes me feel like something is missing or like I'm not doing something right if I don't close it. Lol. – Joshua Huff Jan 15 '16 at 21:24
and putting each break on its own line for the purpose of being able to tell how many breaks I have easier. In this case, however, there's no need to know how many because they won't be staying... (^_^;) Thanks a lot! I definitely look forward to seeing if you're able to figure anything out! :D – Joshua Huff Jan 15 '16 at 21:30