Topic: Where is the class .smooth-scroll?

devtrix pro asked 7 years ago


Hi, I searched mdb.css & mdb.js and could not locate smooth-scroll class. Btw, I'm using this in VS 2017, Asp.net Core 1.1 project. Any quick help is much appreciated. Regards, Raj

Adrian Sawicki free answered 7 years ago


Hello Raj, I will be waiting for more info from you. Regards, Adrian

devtrix pro answered 7 years ago


Adrian, Good Morning. I just used Bower extension for VS 2017 which allows for the latest pkg to be downloaded. Further, I had referenced CDN & only fallback on local resources. At that time the local was the Bower install. Now, I just use the pkg from my profile area. Its a hectic day for me today & tomorrow but after that I have it in my backlog to send you more info. Regards, Raj

Adrian Sawicki free answered 7 years ago


Could you show me your code? It's quite hard to help with such small amount of information. Does other elements are styled properly ? I've just tried to copy HTML from example and it works for me with mdb.css pro 4.3.1. If this is the only thing that doesn't add our styles, is it possible that you overwrite them in some way? If you need help asap you can contact me by e-mail a.sawicki@mdbootstrap.com. Regards, Adrian

devtrix pro answered 7 years ago


Adrian, I did find the JS code in line 5733, this could be my issue. ScrollSpy is not highlighting the Nav, but I can live without those right now. More pressing problem I have are with CheckBox & Radio Buttons. I am using the Pro version, but my checkboxes/radio buttons are not decorated. Could you guide me Asap plz. Regards, Raj

Adrian Sawicki free answered 7 years ago


You can find smooth-scroll in mdb.js for sure. I've just checked it (MDB 4.3.1 pro line 5733). Could you tell me more about the issue with ScrollSpy? Regards, Adrian

devtrix pro answered 7 years ago


Version: 4.3.1 Pro. I am using jquery.smooth-scroll to get that functionality, but would like to remove that dependency if possible. I am also having an issue with ScrollSpy as well. Regards, Raj (Devtrix)

Adrian Sawicki free answered 7 years ago


Hello Devtrix, Could you please tell me which version of MDB are you using? Regards, Adrian

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Specification of the issue

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