Topic: Incorrect scrolling with fixed-top navbar
Marta Szymanska staff pro premium answered 7 years ago
data-offset
? If you have and item in the navbar, add to it the data-offset
with the value as in the example below:
<li class="nav-item"> <a class="nav-link title waves-effect waves-light" href="#features" data-offset="90">Features</a> </li>Best, Marta
svm pro answered 7 years ago
svm pro answered 7 years ago
Here is the workaround: https://mdbootstrap.com/support/smooth-scroll-automation-with-navbar-fixed-top/
Thanks to Boris!
Marta Szymanska staff pro premium 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