Is there a class i can use to hide content on mobile?


Topic: Is there a class i can use to hide content on mobile?

lukejohnson pro premium priority asked 5 years ago

Hi there,

Using a built in class (I couldnt find one that exists), is it possible to hide content based on the screen size?

I have a mega menu but would like to hide certain components when in mobile view. An example of this is when I have a card inside a mega menu showing featured content. I'd like to hide the image and/or the whole card when on a phone.

Thanks! :)


Marta Szymanska staff pro premium answered 5 years ago

Hi,

on this page of documentation: https://mdbootstrap.com/docs/jquery/utilities/display/#hiding you will find hiding classes/

Best, Marta


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: Pro
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: 4.8.8
  • Device: samsung
  • Browser: chrome
  • OS: android
  • Provided sample code: No
  • Provided link: No