> 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/single-video-widget.md).

# Single video widget

### Change video elements text color

{% code overflow="wrap" %}

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

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

/* change title color */
.reputon-youtube-widget .reputon-single-video .reputon-title
{color: red;}

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

{% endcode %}

<div><figure><img src="/files/iQ8qx0v0p68J0wVbb0eG" alt=""><figcaption><p>description color</p></figcaption></figure> <figure><img src="/files/ZvSFoEE4z5B2BUyYrbmK" alt=""><figcaption><p>counters color</p></figcaption></figure> <figure><img src="/files/7Vt3sHsIXL3QlKrkPxfc" alt=""><figcaption><p>title color</p></figcaption></figure> <figure><img src="/files/zmwPojPX8AizNtIlMBxh" alt=""><figcaption><p>date color</p></figcaption></figure></div>

***

### Change widget font

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="/files/CBM8nbUqaeXoc0z8dl6y" alt="" width="375"><figcaption></figcaption></figure>

***

### Hide cards elements

{% code overflow="wrap" %}

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

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

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

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

{% endcode %}

<div><figure><img src="/files/5iAe7KFUhoMwbJaipvaU" alt=""><figcaption><p>hide description</p></figcaption></figure> <figure><img src="/files/j2vQAy3wrnIJk9EBJBEJ" alt=""><figcaption><p>hide counters</p></figcaption></figure> <figure><img src="/files/jAPpg7aaZvbtqzR3EbFb" alt=""><figcaption><p>hide title</p></figcaption></figure> <figure><img src="/files/981MqyjpamedDo8B5C5l" alt=""><figcaption><p>hide date</p></figcaption></figure></div>

***

### Change widget background

{% code overflow="wrap" %}

```css
/* change background of the entire widget */
.reputon-youtube-widget .reputon-single-video,
.reputon-youtube-widget .reputon-single-video .reputon-video-container
 {background: rebeccapurple;}

/* change card background */
.reputon-youtube-widget .reputon-single-video .reputon-video-container
 {background: rebeccapurple;}

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

{% endcode %}

<div><figure><img src="/files/S1WFm1SEYIxGTRemUbcL" alt=""><figcaption><p>card color</p></figcaption></figure> <figure><img src="/files/B5j3eJSIYZwbuLaAJxdI" alt=""><figcaption><p>entire widget color</p></figcaption></figure></div>

***

### Change widget width

{% code overflow="wrap" %}

```css
.reputon-youtube-widget .reputon-single-video 
{width: 350px !important;}
```

{% endcode %}

***

### Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Hide widget on mobile

{% code overflow="wrap" %}

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

{% endcode %}

***

### Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="/files/0LMgzVLPjgGe7qzZxUcI" alt="" width="375"><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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
