OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

Scrolling in sticky-top navbar Bootstrap 4

  • Thread starter Thread starter nightspite
  • Start date Start date
N

nightspite

Guest
I have a problem because I've made navbar, which is sticky-top and it has got a few dropdowns ( and many buttons in each drop-down). So if device's height is too small it's cropped and I can get buttons that are lower. I need to know how to add scrolling on that navbar.

At this moment it works like that (using bootstrap 4.0) https://v4-alpha.getbootstrap.com/examples/navbar-top-fixed/

and in bootstrap 3.3.7 it was easier and it looks like this: https://getbootstrap.com/docs/3.3/examples/navbar-fixed-top/

Just change the height of windows to 300px and u will see the effect. I need help with adding scrolling to the sticky-top collapsed navbar.
<p>I have a problem because I've made navbar, which is sticky-top and it has got a few dropdowns ( and many buttons in each drop-down). So if device's height is too small it's cropped and I can get buttons that are lower. I need to know how to add scrolling on that navbar.</p>

<p>At this moment it works like that (using bootstrap 4.0)
<a href="https://v4-alpha.getbootstrap.com/examples/navbar-top-fixed/" rel="nofollow noreferrer">https://v4-alpha.getbootstrap.com/examples/navbar-top-fixed/</a></p>

<p>and in bootstrap 3.3.7 it was easier and it looks like this:
<a href="https://getbootstrap.com/docs/3.3/examples/navbar-fixed-top/" rel="nofollow noreferrer">https://getbootstrap.com/docs/3.3/examples/navbar-fixed-top/</a></p>

<p>Just change the height of windows to 300px and u will see the effect.
I need help with adding scrolling to the sticky-top collapsed navbar.</p>
Continue reading...
 
Top