# Hide sections on mobile/ desktop view

<div data-full-width="true"><figure><img src="/files/1OZ2q7N6tFYitFzBKwTz" alt=""><figcaption><p><a href="https://foxecom.com/pages/affiliate?utm_source=minimog%2Bhelp%2Bcenter&#x26;utm_medium=banner&#x26;utm_campaign=foxaffiliatelaunch2024">Explore FoxEcom Affiliate Program now </a><span data-gb-custom-inline data-tag="emoji" data-code="2728">✨</span></p></figcaption></figure></div>

If you want to hide a specific section on mobile view and show it on desktop view or vice versa, follow the steps below.

1. From your Shopify admin, go to **Online Store** > **Customize**.
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:

<figure><img src="/files/TEv2aDd49Jtc1gmIBDJJ" alt=""><figcaption></figcaption></figure>

#### **Minimog version 3.5.0 and older**:&#x20;

* Display that section on desktop and hide it on mobile:

```
hidden md:block 
```

* Display that section on mobile and hide it on desktop:

```
block md:hidden 
```

#### **Minimog version 4.0.0 and above**:

* Display that section on desktop and hide it on mobile:

```
m:hidden md:m:block
```

* Display that section on mobile and hide it on desktop:

```
m:block md:m:hidden
```

4\. **Save** the settings.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/minimog-theme/faqs/generic/hide-sections-on-mobile-desktop-view.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
