> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/screen-customization/apply-custom-css.md).

# Custom CSS

Restyle your website inside the app, without touching the site itself.

Custom CSS changes how your website looks inside the app only. Use it to make the app feel different from the browser, fix something that reads badly on a small screen, or finish a job that hiding an element started.

{% hint style="success" %}
**Your website is not changed.** These styles apply only inside the app.
{% endhint %}

Open **General Settings → CSS**.

<figure><img src="https://3731994945-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MlBy5z08zL1UoCwNqmg%2Fuploads%2Fgit-blob-d30d763014f3dd97f56da57cf94a6f8c5909828f%2Fscreen-cust-css.png?alt=media" alt="The CSS tab with an Add style button"><figcaption></figcaption></figure>

## Add a style

Click **Add style** and give three things:

<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 what you are styling — <code>.price</code>, <code>#banner</code>, <code>h1</code>.</td></tr><tr><td><strong>CSS property</strong></td><td>The declarations to apply, such as <code>color: red; font-size: 18px;</code></td></tr><tr><td><strong>Screens</strong></td><td>Which screens to apply it on.</td></tr></tbody></table>

Find selectors the same way as for hiding elements — right-click in a desktop browser and choose **Inspect**.

{% content-ref url="/pages/P3UNTGRBRI69IQquBrca" %}
[Hide Elements](https://help.twinr.dev/screen-customization/hide-elements.md)
{% endcontent-ref %}

## What it is good for

* **Making text readable.** Web type set for a monitor is often small on a phone.
* **Collapsing leftover space.** A hidden header can leave a gap; `display: none` or a margin reset closes it.
* **Making the app feel distinct.** A different accent colour tells customers they are in the app, not the browser.

{% hint style="warning" %}
**Keep selectors stable.** A class generated by your site's build tooling changes whenever the site is rebuilt, and your styling silently stops applying. Prefer tags and IDs.
{% endhint %}

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