Topic: Anchor for scrolling to section on page
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.)
Dawid Wajszczuk staff answered 3 years ago
Hi,
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.
Keep coding,
Dawid
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 Standard
- MDB Version: MDB5 3.9.0
- Device: Desktop, Mobile
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No