# Hide Elements

> Remove parts of your website that do not belong in a mobile app.

Websites carry things an app does not need — a site header duplicating your app's navigation, a cookie banner, a newsletter popup, a footer full of links. Hiding them makes your app feel built for a phone rather than borrowed from a browser.

> **Tip:** **Your website is not changed.** These rules apply only while the page is displayed inside your app. Visitors on the web see your site exactly as before.

Open **General Settings → Hide elements**.

![The Hide elements tab with two entries, each having an element identifier and a list of screens](https://help.twinr.dev/assets/screen-cust-hide-elements.png)

## Add an element

Click **Add element** and fill in two fields:

<table><thead><tr><th width="210">Field</th><th>What to enter</th></tr></thead><tbody><tr><td><strong>Element's Identifier</strong></td><td>A CSS selector for the thing to hide — <code>header</code>, <code>.cookie-banner</code>, <code>#newsletter-popup</code>.</td></tr><tr><td><strong>Screens</strong></td><td>Which screens to hide it on. Pick one, several, or all of them.</td></tr></tbody></table>

Because each entry has its own **Screens** list, you can hide your site header everywhere but keep the footer only on your About screen — all from this one tab.

## Finding the selector

Open your site in a desktop browser, right-click the element you want gone, and choose **Inspect**. The highlighted tag shows its `id` and `class`:

* an `id` becomes `#name`
* a `class` becomes `.name`
* a plain tag is just its name, such as `header` or `footer`

> **Warning:** **Prefer tags and IDs over generated class names.** A class like `._topbar_1xe1m_3` is produced by a build tool and changes the next time your site is deployed — and when it does, the element quietly comes back. `header` keeps working.

Click **Save as draft**, then refresh the Twinr Preview app to check the result on a phone.

## Common Questions

**The element is still showing.**

Either the selector is wrong or the element loads after the page. Confirm it by running `document.querySelector('your-selector')` in your browser console — if that returns nothing, the selector does not match.

**Hiding the header left a gap.**

The element is hidden but its space may remain, depending on how your site is built. Use Custom CSS to collapse the space as well.

**Can I hide something on one screen only?**

Yes — that is what the **Screens** field is for. Add the element and pick just that screen.

Source: https://help.twinr.dev/screen-customization/hide-elements
