Topic: Anchor for scrolling to section on page
Odermatt premium asked 2 years ago
How can anchors be used in MDB5 for scrolling to the right position of a section of the page?
Expected behavior Scrolling to an anchor on the page
Actual behavior It's not stopping exactley on the expected position. Content is covered bei top navigation.
Resources (screenshots, code snippets etc.)
You are probably referring to our smooth scroll. To get rid of content being covered by top navigation just set offset to scroll. More information about this can be found here https://mdbootstrap.com/docs/standard/methods/smooth-scroll/ under Custom offset section.
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Premium
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 3.9.0
- Device: Desktop, Mobile
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No