Topic: side-nav smooth-scroll external link

staehla pro asked 6 years ago

Hello Is it possible to have the side-nav with smooth-scroll setup that also links to external URL are working? In the example below the second link does not fire to the desired URL. Thank you in advance. Cheers Marco
    <ul class="collapsible collapsible-accordion smooth-scroll">	
        <li><a class="collapsible-header waves-effect arrow-r active">Turnverein<i class="fa fa-angle-down rotate-icon"></i></a>
            <div class="collapsible-body">
                    <li><a href="#top_main" class="waves-effect">Home</a></li>
                    <li><a href="" class="waves-effect">Visit W3Schools</a></li>

Michal Szymanski staff answered 6 years ago

Hi, try this code:
    <li class="smooth-scroll"><a href="#test1" class="waves-effect">Link</a>
    <li class="smooth-scroll"><a href="#test2" class="waves-effect">Link</a>
    <li><a href="" class="waves-effect">Link</a>

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No