fixed-bottom for Footer problem


Topic: fixed-bottom for Footer problem

yawaweb asked 6 years ago

Hello,

i have an issue if i make the class .fixed-bottom on the Footer on mobile Devices i can see only the Footer.


Bartłomiej Malanowski staff pro premium answered 6 years ago

Using position: fixed or position: absolute is an old-school way to achieve footer always at the bottom of the HTML document. However, this always makes issues and I never recommend it. A long time ago I've found a better way. Since the flexbox is supported by all of the modern browsers, you can use it instead of fixed/absolute. Please check my fiddle


Curtly commented 5 years ago

Thank you, It worked perfectly. Please consider adding this solution as a sticky-footer class name.


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
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.6.1
  • Device: Mobilr
  • Browser: Chrome
  • OS: Android
  • Provided sample code: No
  • Provided link: No
Tags