Topic: "Back to the top" button

Pytchoun free asked 6 years ago


<div class="fixed-action-btn smooth-scroll" style="bottom: 45px; right: 24px;">
<a href="#top-section" class="btn-floating btn-large red">
<i class="fas fa-arrow-up"></i>
</a>
</div>

 

Hello how to make this button appear only if we are not at the top already ?



Try this code: https://mdbootstrap.com/snippets/jquery/bartek-malanowski/232187 


MDBootstrap staff answered 3 years ago


Solution for the latest Bootstrap 5 and MDB 5: https://mdbootstrap.com/docs/standard/extended/back-to-top/



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.15
  • Device: windwos
  • Browser: chrome
  • OS: windwos 10
  • Provided sample code: No
  • Provided link: No