Topic: fixed Navbar overlaps Section on smooth Scroll
NeoXP priority asked 6 months ago
I created a webpage with a fixed Navbar with Links to the Section Ids, so a user can click to get a smooth scroll to the desired content.
The Problem is that after the smooth scroll the Navbar overlapses the Section Body.
Can someone please Help :)
You need to add
data-mdb-offset attribute to your link:
Adjusted snippet: https://mdbootstrap.com/snippets/standard/kpienkowska/4141141
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.2.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: Yes