Topic: Section title is hidden behind fixed navbar
leopoldus11 pro asked 8 years ago
jbankster.web pro answered 8 years ago
<a href="#id_name" .... ></a>
Once the above is added, navigating scrolls now, but with the same problem... linked section headings a sitting underneath the navbar. IFFFFFF you NOW add the (data-offset="100") attribute, save and refresh cache, you will find the link in the navbar doesn't respond now or scroll to it's intended anchor id. <<< Something BUGGY is going on here.
Josh
Bartłomiej Malanowski staff answered 8 years ago
data-offset
attribute to your link. Here's an example: <a href="#mySectionId" data-offset="100">Smooth Scroll Example</a>
Of course, you can set value of data-offset
to number of pixels you like
jbankster.web pro answered 8 years ago
leopoldus11 pro answered 8 years ago
jbankster.web pro answered 8 years ago
Marta Wierzbicka free answered 8 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No