> For the complete documentation index, see [llms.txt](https://reputon.gitbook.io/reputon-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reputon.gitbook.io/reputon-help/youtube-video-gallery/custom-style-codes/grid-widget.md).

# Grid widget

Customize your YouTube Gallery grid widget with CSS. Change colors, fonts, layout, arrows, and more to match your website design.

### Change widget header text color

{% code overflow="wrap" %}

```css
/* change title color */
.reputon-youtube-widget .reputon-grid .reputon-header .reputon-title  
{color: red;}

/* change counters color */
.reputon-youtube-widget .reputon-grid .reputon-header .reputon-counters  
{color: red;}
```

{% endcode %}

<div><figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2Fnilml9jujN45quMTSjEE%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.50.25.png?alt=media&amp;token=64ee7296-fb74-4b04-bde5-a7deb3e49a8b" alt=""><figcaption><p>title color</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2F7Je0AyjIX4Nm4OJghpTW%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.50.47.png?alt=media&amp;token=b796903b-7a75-4ad4-bf5a-75f23ac63a5f" alt=""><figcaption><p>counters color</p></figcaption></figure></div>

***

### Change grid elements text color

{% code overflow="wrap" %}

```css
/* change description color */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-description {color: red;}

/* change bottom counters color */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-counters {color: red;}

/* change title color */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-title {color: red;}

/* change date color */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-date {color: red;}
```

{% endcode %}

<div><figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FcjI8tJk2PFn36s2j2xjB%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_09.24.22.png?alt=media&amp;token=245da1ec-7beb-47f0-8449-14b75943736b" alt=""><figcaption><p>description color</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FShYaGRjNFUF3OqNKmgJg%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_09.27.35.png?alt=media&amp;token=c8150a56-b893-4df9-829c-09b81dbacbc4" alt=""><figcaption><p>counters color</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FFxt8BRUAXyBIxVmMo4eU%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_09.37.00.png?alt=media&amp;token=0e1c1d3c-0dde-4070-ac3d-3ed42f1c9446" alt=""><figcaption><p>title color</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FnqYMr8yPXKMTrieL9HOw%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_09.38.27.png?alt=media&amp;token=df4ff2fd-094d-4289-a20f-33281611f3d7" alt=""><figcaption><p>date color</p></figcaption></figure></div>

***

### Change widget font

{% code overflow="wrap" %}

```css
/* change widget font */
.reputon-youtube-widget .reputon-grid {font-family: Comic Sans MS !important;}
```

{% endcode %}

<figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FR9AyBXMwsYb3hS0cCs4u%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.57.51.png?alt=media&amp;token=6969d885-cd0f-4565-9c68-92a106e7530f" alt=""><figcaption></figcaption></figure>

***

### Hide cards elements

{% code overflow="wrap" %}

```css
/* hide card description */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-description {display: none !important;}

/* hide card counters */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-counters {display: none;}

/* hide card title */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-title {display: none;}

/* hide card date */
.reputon-youtube-widget .reputon-grid .reputon-grid-wrapper .reputon-date {display: none;}
```

{% endcode %}

<div><figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FltuTZHsp9grx3MEMdH0z%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.00.43.png?alt=media&amp;token=3a1c5ce6-848d-42af-ac4a-085259e1fdf8" alt=""><figcaption><p>hide description</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FdnypoaVWKIXvcXL84kYi%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.07.37.png?alt=media&amp;token=3f7e1c33-333d-4b0d-bcfc-1c9788c264c8" alt=""><figcaption><p>hide counters</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FalKFaKK25uPS2xxD2hi8%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.08.35.png?alt=media&amp;token=04efb8d2-c15f-40db-aa46-0c161d5df0fa" alt=""><figcaption><p>hide title</p></figcaption></figure> <figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2F7QkMjgJIJqPHTPMCOEse%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_10.09.08.png?alt=media&amp;token=0fe95b16-9430-4340-8012-6f7b5899e449" alt=""><figcaption><p>hide date</p></figcaption></figure></div>

***

### Hide header elements

{% code overflow="wrap" %}

```css
/* hide title */
.reputon-youtube-widget .reputon-grid .reputon-header .reputon-title  
{display: none;}

/* hide counters */
.reputon-youtube-widget .reputon-grid .reputon-header .reputon-counters  
{display: none;}

/* hide logo */
.reputon-youtube-widget .reputon-grid .reputon-header .reputon-logo 
{display: none;}

/* hide header */
.reputon-youtube-widget .reputon-grid .reputon-header
{display: none;}
```

{% endcode %}

***

### Change widget background

{% code overflow="wrap" %}

```css
/* change widget background */
.reputon-youtube-widget .reputon-grid,
.reputon-youtube-widget .reputon-grid .reputon-header
 {background: rebeccapurple;}

/* change widget background, excluding header */
.reputon-youtube-widget .reputon-grid 
{background: rebeccapurple;}

/* change header background */
.reputon-youtube-widget .reputon-grid .reputon-header
{background: rebeccapurple;}

/* To change the widget section color, add this code to theme.liquid */
<style> 
section:has(.reputon-youtube-widget .reputon-grid) {background: rebeccapurple;}
</style> 

```

{% endcode %}

<figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FAwAYOHl5wCRKEx915ydQ%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_11.26.20.png?alt=media&amp;token=e765be02-0625-4886-ad1e-ac3265389dee" alt=""><figcaption></figcaption></figure>

***

### Change widget width

{% code overflow="wrap" %}

```css
.reputon-youtube-widget .reputon-grid {width: 600px !important;}
```

{% endcode %}

***

### Change ‘Load more’ button

{% code overflow="wrap" %}

```css
/* regular state */
.reputon-youtube-widget .reputon-grid .reputon-load-more {color: #fff; background: red;}

/* borders */
.reputon-youtube-widget .reputon-grid .reputon-grid-container .reputon-load-more {border: 3px solid red ;}

/* hover, active states */
.reputon-youtube-widget .reputon-grid .reputon-load-more:hover,
.reputon-youtube-widget .reputon-grid .reputon-load-more:not([disabled]):active,
.reputon-youtube-widget .reputon-grid .reputon-load-more:not([disabled]):active {color: #fff; background: brown;}

/* 'load more' button text */
.reputon-youtube-widget .reputon-grid .reputon-load-more.editable:after {content: 'your text';}

/* 'load more' button font */
.reputon-youtube-widget .reputon-grid .reputon-load-more.editable:after {font-family: Comic Sans MS;}
```

{% endcode %}

<figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FGyhW3rkMoK9iljjCL1QT%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_11.30.47.png?alt=media&amp;token=dbbac498-d711-48eb-bbc8-4e5a1b299d0c" alt=""><figcaption></figcaption></figure>

***

### Change ‘Subscribe’ button

{% code overflow="wrap" %}

```css
/* change background color */
.reputon-youtube-widget .reputon-grid .reputon-bt-subscribe {background: red;}

/* change text color */
.reputon-youtube-widget .reputon-grid .reputon-bt-subscribe {color: red;}

/* hide button */
.reputon-youtube-widget .reputon-grid .reputon-bt-subscribe {display: none;}
```

{% endcode %}

<figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2FHkgiS7mwl9TjUMa6TtZ9%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_11.34.28.png?alt=media&amp;token=de0c1756-4541-40fd-a261-b4b80c174bcd" alt=""><figcaption></figcaption></figure>

***

### Add margin above widget

{% code overflow="wrap" %}

```css
.reputon-youtube-widget .reputon-grid
{margin-top: 100px !important;}
```

{% endcode %}

***

### Add margin below widget

{% code overflow="wrap" %}

```css
.reputon-youtube-widget .reputon-grid {margin-bottom: 100px !important;}
```

{% endcode %}

***

### Hide widget on mobile

{% code overflow="wrap" %}

```css
@media (max-width: 460px) { 
	.reputon-youtube-widget .reputon-grid { 
		display: none !important; }}
```

{% endcode %}

***

### Apply black-and-white filter

{% code overflow="wrap" %}

```css
.reputon-youtube-widget .reputon-grid {filter: grayscale(100%);}
```

{% endcode %}

<figure><img src="https://823272398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN5Pck9HNYnqE29Mx45Jb%2Fuploads%2F3OiSRLjfgmizfRteOr9S%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA_%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0_2025-02-09_%D0%B2_11.37.27.png?alt=media&amp;token=0ee94154-0c5e-4696-b74e-528aec6c566a" alt=""><figcaption></figcaption></figure>

***

{% hint style="info" %}
**Have questions or need help with CSS? Contact us at** [**support@reputon.com**](mailto:support@reputon.com) **or** [**live chat**](https://go.crisp.chat/chat/embed/?website_id=d24ef16e-6e05-49e9-bd59-a6f3bde0658a)
{% endhint %}


---

# 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://reputon.gitbook.io/reputon-help/youtube-video-gallery/custom-style-codes/grid-widget.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.
