Hide sections on mobile/ desktop view

Custom class to hide a section on different devices

To hide a specific section on mobile view or desktop view selectively, follow these steps:

  1. Navigate to Online Store > Customize from your Shopify admin.

  2. In the theme editor, locate the section you wish to customize.

  3. Within the section settings, locate Custom attributes.

  4. Add the following custom classes:

Last updated