Topic: Sticky Content doesn't work on mobile
manzullo pro answered 7 years ago
Ollie Vincent pro answered 7 years ago
Hi,
Sorry I misunderstood.
MDB actually have a class for sticky-top
navbars. Live demo can be found here: https://mdbootstrap.com/previews/docs/latest/html/navbar/navbar-sticky-top.html
<nav class="navbar sticky-top navbar-dark indigo">#</nav>
Thanks
manzullo pro answered 7 years ago
Mikołaj Smoleński staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Ollie Vincent pro commented 7 years ago
Hi, By default it won't stick on mobiles. What are you trying to stick? Surely you don't want content to stick on mobile because it would cover the whole screen.