Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
CSS Help - Navbar Overlapping content
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="DDDDec" data-source="post: 463581" data-attributes="member: 75952"><p>pretty sure when the navbar has a fixed position the content will flow under it, maybe use @media for when you scroll then it has the fixed position, also look into using grid and flex i like to use grid because i can just justify-content:end; (start, center, end) so on .</p><p></p><p>also i use position: sticky; instead of position: fixed; </p><p></p><p>stackoverflow that i found: <a href="https://stackoverflow.com/questions/7402635/how-can-i-make-content-appear-beneath-a-fixed-div-element" target="_blank">https://stackoverflow.com/questions/7402635/how-can-i-make-content-appear-beneath-a-fixed-div-element</a> (not sure if this is allowed or not if it isnt just remove it)</p><p></p><p><a href="https://css-tricks.com/snippets/css/complete-guide-grid/" target="_blank">https://css-tricks.com/snippets/css/complete-guide-grid/</a> : this is a nice little place for some cool css tricks got a few decent guides on how to use css</p></blockquote><p></p>
[QUOTE="DDDDec, post: 463581, member: 75952"] pretty sure when the navbar has a fixed position the content will flow under it, maybe use @media for when you scroll then it has the fixed position, also look into using grid and flex i like to use grid because i can just justify-content:end; (start, center, end) so on . also i use position: sticky; instead of position: fixed; stackoverflow that i found: [URL]https://stackoverflow.com/questions/7402635/how-can-i-make-content-appear-beneath-a-fixed-div-element[/URL] (not sure if this is allowed or not if it isnt just remove it) [URL]https://css-tricks.com/snippets/css/complete-guide-grid/[/URL] : this is a nice little place for some cool css tricks got a few decent guides on how to use css [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
CSS Help - Navbar Overlapping content
Top