hidden some module in small screen

  • Posts: 40
  • Thank you received: 5
  • Hikashop Business
3 weeks 3 days ago #364717

hi all, I read some guides but I couldn't hide some modules on small screens, like smartphones.

I use joomla5 and Cassiopeia template.

Basically I would like to create 2 different versions for some modules, one for normal large screens and one for small screens. The modules I would like to set at the moment are Brand listing and Category listing in 1 level.

I tried different module class suffixes, but without results. the last that i've tried is: .d-none .d-sm-block
but with no result.

Can anyone give me suggestions?

Last edit: 3 weeks 3 days ago by aromamassage.

Please Log in or Create an account to join the conversation.

  • Posts: 83022
  • Thank you received: 13403
  • MODERATOR
3 weeks 3 days ago #364718

Hi,

You could use media queries to hide the div encompassing the module on screens below a certain width. See the first answer on :
stackoverflow.com/questions/4296012/hide...than-a-certain-width

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum