Topic: Incorrect scrolling with fixed-top navbar
svm pro asked 6 years ago
Marta Wierzbicka staff answered 6 years ago
svm pro answered 6 years ago
Here is the workaround: https://mdbootstrap.com/support/smooth-scroll-automation-with-navbar-fixed-top/
Thanks to Boris!
svm pro answered 6 years ago
Marta Wierzbicka staff answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No