> For the complete documentation index, see [llms.txt](https://docs.jetadmin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jetadmin.io/classic-app-builder/appearance-and-localization/global-css-and-js.md).

# Global CSS & JS

Customize the way your app looks

Custom CSS and Javascript allow you to enhance your branding and UI/visual tweaks, without completely changing the look and feel of your app. For example, you can use Custom CSS to change the style of the components: colors,  size, text alignment, etc.

**Using Custom CSS & JS:**

**How to add Global CSS & JS**

1. **Go to the App Settings**
2. **Go to the Scripts and Styles**

{% embed url="<https://www.loom.com/share/5ee5e1c2f92b4228b97d3c4f6d894831>" %}

Custom CSS and JS are used in the same way for the app and the Sign-in/Sign-up page, but they are configured independently. The Custom CSS/JS settings can be accessed in the Scripts & Styles sections of the App Settings and Sign in & Sign up menus.&#x20;

1. Go to App Settings or Sign in & Sign up menu

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FsXfBpfcl9t9tldB6a0e1%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202023-04-11%20%D0%B2%2020.17.53.png?alt=media&amp;token=8b824cdc-44ef-46a9-bd3e-445037e25c3b" alt=""><figcaption><p>App Settings menu location</p></figcaption></figure>

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FfRXXRq7rXjRAiUzeUec3%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202023-04-11%20%D0%B2%2020.14.21.png?alt=media&amp;token=0aabdc90-cd08-4cea-9f72-6128362e0acd" alt=""><figcaption><p>Sign in/Sign up menu location</p></figcaption></figure>

2\. Go to **Scripts & Styles** in the menu and paste your CSS or JS in the appropriate **Global CSS** or **Global Javascript** field.

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FduxABR7w9628XMtPMBkW%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202023-04-11%20%D0%B2%2020.21.10.png?alt=media&amp;token=5370ef33-5346-4e64-abd9-317470e39d83" alt=""><figcaption><p>Scripts &#x26; Styles menu section</p></figcaption></figure>

### Menu Style

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FhjApEgRtxcMX6k2jTbVv%2Fimage.png?alt=media&amp;token=91c735a0-bb10-4465-820d-58ff8f1ba5f3" alt=""><figcaption></figcaption></figure>

Update menu background color:

```css
.admin-header{
    background-color:#C4CDFB;
}

.admin-header-link__label{
    color:#000;
    text-size:18px;
}
```

Update menu item style:

```css
.admin-header__title {
    font-size: 16px;
    color: #2B50ED;
    text-align: center;
}
```

### **Detail. Text Font and Size**

![](https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FbUIdwqxZnnBJlMMya34p%2Fimage.png?alt=media\&token=319a47f6-ecb4-4918-ad18-9be1fdfd17f3)

```css
[data-component-id="{text-component-id}"] .text-truncate{
    text-align: center;
    font-size: 40px;
    color: black;
}
```

### Input Text Field Style

```css
.field__label {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 8px;
    color: #2B50ED;
}

.field__content {
    font-size: 16px;
    color: #2B50ED;
}
```

### Table Row Style (Selected row color)

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2FVyZZJfmBHJi0gjpAc2gc%2Fimage.png?alt=media&amp;token=917993fb-83d8-40c8-bfdd-67f444cda65b" alt=""><figcaption><p> ()</p></figcaption></figure>

```css
.table__row_selected:nth-child(2n) {background: red !important;}
.table__row_selected:nth-child(2n+1) {background: red !important;}

.table__row_selected:nth-child(2n), .table_openable .table__row_selected:hover:nth-child(2n) {
    background:#04CFC9 !important
}

.theme_dark .table__row_selected:nth-child(2n), .theme_dark .table_openable .table__row_selected:hover:nth-child(2n) {
    background:#2b50ed !important
}

.table__row_selected:nth-child(2n + 1), .table_openable .table__row_selected:hover:nth-child(2n + 1) {
    background:#04CFC9 !important
}

.theme_dark .table__row_selected:nth-child(2n + 1), .theme_dark .table_openable .table__row_selected:hover:nth-child(2n + 1) {
    background:#2a4acf !important
}
```

{% @arcade/embed flowId="OdUvwFm2QlotIZLrS4HU" url="<https://app.arcade.software/share/OdUvwFm2QlotIZLrS4HU>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jetadmin.io/classic-app-builder/appearance-and-localization/global-css-and-js.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
