How to hide a section in mobile version


I would like to make a section in a landing page in mobile version disappear because it has many logos in it and it would just mean a lot of scrolling in the mobile version.

Is there a way in Drupal to change the visibility with Media Queries? Can I add a class/ID to a specific section in a landing page?

Thanks, Nadine

Hello Nadine,

You can hide a section by clicking on Hide Section option in the configuration of the section. However this option applies to the whole section regardless resolution.

The solution you mention about styling the section using media queries would be possible if there was a way to identify the section (by adding a class or id). For now there is none but there is already a feature ticket for assigning a unique id to each section. In that way you will be able to select by id and hide the ones you want.