Advanced Module Manager

Can I show or hide modulse depending on screen width?

1 year 1 month ago #77983

Nifa's Avatar Nifa

Dear support,

Is it possible to show or hide modules depending on the width of the screen? If the screen is to narrow I want to show an opposite module with less content and fewer megabytes. Something like breakpoints in responsive templates but then for a single module on a given pixels screen width.

With kind regards and thanks in advance,

1 year 1 month ago #77984

Peter van Westen's Avatar Peter van Westen Admin

You can't do that with the assignments in Advanced Module Manager.
You can only d this via css media queries.

If your template is based on Bootstrap, you can already do this by adding the correct css classes to the modules (via the module settings).
The available classes can be found here (under 'Responsive utility classes'):

If your template does not use Bootstrap, it might offer these same or other classnames you can use.
Ask your template developer for support on that.

Or add your own responsive css classes to your templates stylesheet.

1 year 1 month ago #77989

Nifa's Avatar Nifa

Hi Peter,

Thanks for giving me the right direction to get it done!

I think you should add that size width feather to your Advanced Module Manager - assignments. I don't know how you should make that but that counts for most of your incredible software 😉 For some complex modules I want to use other breakpoints than the general template bootstrap breakpoints.

Keep on doing your very good work, which I like and use very much.

With kind regards, Nico