# Grid widget

### 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="/files/SvpIaCM3c36pCd8ivkBe" alt=""><figcaption><p>title color</p></figcaption></figure> <figure><img src="/files/vTvzrxi5eqoICBP8yf4V" 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="/files/2ST6lAEXLY3hTVpERBZ8" alt=""><figcaption><p>description color</p></figcaption></figure> <figure><img src="/files/oNYlEul3vpIVROiBZZm4" alt=""><figcaption><p>counters color</p></figcaption></figure> <figure><img src="/files/CbTtIPX5CKmqXsX6L17z" alt=""><figcaption><p>title color</p></figcaption></figure> <figure><img src="/files/nbRQaA2NgZ10LOHo06na" 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="/files/cFzTAPqyo4qDEiDor0MY" 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="/files/2o1k3GQSFfnGv3Ez1KDM" alt=""><figcaption><p>hide description</p></figcaption></figure> <figure><img src="/files/z5EqPaZPJMWVgvhizfdV" alt=""><figcaption><p>hide counters</p></figcaption></figure> <figure><img src="/files/P1OfACtAn5pBzuuhKZ6t" alt=""><figcaption><p>hide title</p></figcaption></figure> <figure><img src="/files/9LCkHPmNYF45yFuuNJuL" 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="/files/GslnBIocwJcsJFx24Qma" 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="/files/4rhYtF90PsMLET9VWvTf" 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="/files/bpBXMzxR5YN0uucsTiwA" 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="/files/fEjRUn2sLu4mf0lA9HlT" 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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://reputon.gitbook.io/reputon-help/youtube-video-gallery/custom-style-codes/grid-widget.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
