# Hide Elements

{% file src="<https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FOmLZfhkuCYIlbF9dqYVQ%2FHow%20to%20Hide%20Website%20Elements%20in%20App%20_%20No%20Sweat%20with%20Twinr.mp4?alt=media&token=345267eb-7197-4f16-8ac1-a362f3beabe4>" %}

In this section, you can hide the unwanted elements(like footer) from the website which are not important to show in the mobile app. These settings won't affect your actual website. It will be applied only when your web page is being displayed in your mobile app.&#x20;

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FDhdj7EJ3NMMb1o2HcvME%2FScreenshot%202023-07-17%20at%207.11.04%20PM.png?alt=media&#x26;token=37c39cfb-d28b-46dd-89a0-0458ab74bc6c" alt=""><figcaption></figcaption></figure>

## Hide elements from the Mobile App

This will allow you to hide any webpage element dynamically from the page.

**Example :** Here I want to remove the header portion from the mobile app. Shown in red box. Remember that it will be just removed from mobile app. The website will still look similar.

![](https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FALYs5XlmD64TGfKzmkk1%2FScreen%20Shot%202022-08-02%20at%204.57.35%20PM.png?alt=media\&token=7c30cc41-c452-40a7-ac04-44d918bc5074)

* **Element's identifier:** Here you need to enter the HTML tag selector that you want to remove from the web page. Let's take a look at an example of the following code snippet which is going to hide above red highlighted section. You need to search it by doing right click on the webpage and click on inspect element.

![](https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FJe4Zsgar3TAO1qFDYEym%2Fimage.png?alt=media\&token=a5d54d1c-4571-4186-ad68-5de460318b76)

![](https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FharpwC4gbIhVgpfzJD3D%2Fimage.png?alt=media\&token=9d04c20f-a1b9-4dd1-a5b4-08d7f68f967f)

```
<div class="vc_row wpb_row vc_row-fluid vc_custom_1547458063113 et_custom_uniqid_62e44448d64de">
<div class="wpb_column vc_column_container vc_col-sm-12 et_custom_uniqid_62e44448d6349">
<div class="vc_column-inner"><div class="wpb_wrapper">        
<link rel="stylesheet" href="https://ecommercely.twinr.site/wp-content/themes/xstore/css/modules/builders/et-slider.min.css" type="text/css" media="all">
<style>.slider-4881 .et-loader:before{background-color:#f7f7f7}</style>
```

For example, you want to remove `<div>` tag from your web page only while its being displayed in your mobile app. You need to find out `class` or `id` property of that element. In our case, here we have class property available. So, we can use `body` as our element's identifier. So, all the elements with the `body` class name will be removed from the web page.

Here, the associated class for the header is **vc\_custom\_1547458063113** which looks unique to the div. You can try to remove from inspect elements page too to see if it is really hiding it. Or you can always see it in out preview app.

If you are using class property then enter `.body`  or if using id property then enter `#body` in the <mark style="color:green;">Element's identifier</mark> field. So, make sure you append `.` at the start if using class and `#` in case of id property.

Here I am giving it as below.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2FHHLvhfhlmjMeFrGiX1zj%2FScreenshot%202023-07-17%20at%207.14.45%20PM.png?alt=media&#x26;token=b23d8bc8-dda9-4179-b55e-8746c63b33bf" alt=""><figcaption></figcaption></figure>

This is how you can remove some element from the web page. If you have any issue and need help then don't hesitate to contact our support.&#x20;

### Example of elements

<table><thead><tr><th align="center">What you find in website inspect code</th><th align="center">What you have to put in element identifier</th><th data-hidden></th></tr></thead><tbody><tr><td align="center">&#x3C;div class="wp-header">...&#x3C;/div></td><td align="center">.wp-header</td><td></td></tr><tr><td align="center">&#x3C;div id="wp-header">...&#x3C;/div></td><td align="center">#wp-header</td><td></td></tr><tr><td align="center">&#x3C;header>...&#x3C;/header></td><td align="center">header</td><td></td></tr><tr><td align="center">&#x3C;div class="any non unique element" data-block="section1_sub">...&#x3C;/div></td><td align="center">[data-block="section1_sub"]</td><td></td></tr></tbody></table>
