# Hide sections on mobile/desktop view using custom attributes **Minimog** and **Megamog** themes. If you are using **other FoxEcom themes**, contact support team via live chat or email [happytohelp@foxecom.com](mailto\:happytohelp@foxecom.com). **Steps:** 1. From your Shopify admin, go to **Online Store** > **Edit theme**. 2. In the theme editor, select the section you want to customize. 3. Find **Custom attributes** in the section settings and add the following custom classes: * If you want to show the section on desktop and hide it on mobile: `m:hidden md:m:block` * If you want to show the section on mobile and hide it on desktop: `m:block md:m:hidden` ![image](https://docs-assets.foxecom.app/minimog-theme/image_TEv2aDd4.png) If your store is using **Minimog v3.5.0 or earlier**, use the custom classes below instead. * If you want to show the section on desktop and hide it on mobile: `hidden md:block ` * If you want to show the section on mobile and hide it on desktop: `block md:hidden `