Scrollable Link To Section
- Give Some ID to the section.
ID name can be anything, like about /contact / feature / example etc.
Only thing is, do not repeat the ID name, i.e. no same ID to two sections in same page
Suppose ID of the section till which you need to scroll is ‘about’. -
Provide ID of this section, in link’s href attribute, along with #.
<a class="nav-link" href="#about">About</a>
How to make none-menu link ( link which is not a part of a menu ) scroll to some section?
Just add a class to it – ‘dtr-scroll-link’
<a class="dtr-scroll-link" href="#about">About</a>