Hide sections on mobile/ desktop view
Custom class to hide a section on different devices
Last updated
Custom class to hide a section on different devices
Last updated
To hide a specific section on mobile view or desktop view selectively, follow these steps:
Navigate to Online Store > Customize from your Shopify admin.
In the theme editor, locate the section you wish to customize.
Within the section settings, locate Custom attributes.
Add the following custom classes: