> 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/etsy-reviews-app/custom-style-codes/compact-rating-sticky-compact-rating-widget.md).

# Compact rating / sticky compact rating widget

## Change widget main color

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-image svg,
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-rating-stars {color: skyblue;}

.reputon-etsy-reviews-widget .reputon-basic .reputon-badge >div:nth-of-type(2)  {background: skyblue;}
```

{% endcode %}

<figure><img src="/files/WITI0V88PzZ2hG7MotHu" alt="" width="330"><figcaption></figcaption></figure>

***

## **Change rating color**

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-rating-stars {color: skyblue;}
```

{% endcode %}

<figure><img src="/files/T8RiE1NUKGGN7LMqh2Ha" alt="" width="333"><figcaption></figcaption></figure>

***

## Change widget font

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-badge {font-family: 'Comic Sans MS' !important;}
```

{% endcode %}

<figure><img src="/files/KgxtIonwEU6XEk6Xl4Z4" alt="" width="419"><figcaption></figcaption></figure>

***

## Center widget's content

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-content {align-items: center;}
.reputon-etsy-reviews-widget .reputon-basic .reputon-name {text-align: center;}
```

{% endcode %}

<figure><img src="/files/ypYqvmjgHRfingI8Kjpo" alt="" width="380"><figcaption></figcaption></figure>

***

## Change background color

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-container {background: antiquewhite;}
	
/* hovered state color */
.reputon-etsy-reviews-widget .reputon-basic .reputon-container:hover {background: brown;}

/* To change the background color of the widget section, add this code to your theme.liquid file. */
<style> 
	section:has(.reputon-etsy-reviews-widget .reputon-basic) {background: bisque;}
</style> 
```

{% endcode %}

<figure><img src="/files/j2neEVCmTzz0xPL93dMp" alt="" width="353"><figcaption></figcaption></figure>

***

## Remove shadow and add border

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-badge {
	box-shadow: none;
	border: 2px solid coral;}
```

{% endcode %}

<figure><img src="/files/050OgDnGk1v9LVyS7seu" alt="" width="358"><figcaption></figcaption></figure>

***

## **Change widget color**

{% code overflow="wrap" %}

```css
/* change name color */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-name {color: skyblue;}

/* change reviews count color */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-reviews-count {color: skyblue;}
```

{% endcode %}

change name color

<figure><img src="/files/KJvMCwpQKmavWNw5bBKM" alt="" width="335"><figcaption></figcaption></figure>

change reviews count color

<figure><img src="/files/usHUoUZWSm5YZALFR0x8" alt="" width="362"><figcaption></figcaption></figure>

***

## Remove widget blocks

{% code overflow="wrap" %}

```css
/* remove name */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-name {display: none;}

/* remove reviews count block */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-reviews-count {display: none;}

/* remove logo */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-image {display: none;}

/* remove name, reviews and logo */
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-name,
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-reviews-count,
.reputon-etsy-reviews-widget .reputon-basic .reputon-info .reputon-image {display: none;}
```

{% endcode %}

<div><figure><img src="/files/6nBx4LxvCxYAALFXemBc" alt=""><figcaption><p>removed reviews count</p></figcaption></figure> <figure><img src="/files/YBSc4fIHB7GtVUdbx55k" alt=""><figcaption><p>removed logo</p></figcaption></figure> <figure><img src="/files/USnjVktfKjSuL5PdVx9Q" alt=""><figcaption><p>removed name, reviews count and logo</p></figcaption></figure> <figure><img src="/files/IzCAHdj6fZKBU3UnNmy3" alt=""><figcaption><p>removed name</p></figcaption></figure></div>

***

## **Change widget width**

{% hint style="warning" %}
min width: 205px
{% endhint %}

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic .reputon-container {width: 470px;}
```

{% endcode %}

***

## Add margin above widget

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic {margin-top: 100px !important;}
```

{% endcode %}

***

## Add margin below widget

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic {margin-bottom: 100px !important;}
```

{% endcode %}

***

## Move the widget

{% code overflow="wrap" %}

```css
/* move to the start of the block */
.reputon-etsy-reviews-widget {justify-content: flex-start !important;}
.reputon-etsy-reviews-widget .reputon-basic {margin: 0 !important;}

/* move to the end of the block */
.reputon-etsy-reviews-widget {justify-content: flex-end !important;}
.reputon-etsy-reviews-widget .reputon-basic {margin: 0 !important;}

/* center on mobile */
@media (max-width: 640px) {.reputon-etsy-reviews-widget .reputon-basic .reputon-badge {transform-origin: center;}}
```

{% endcode %}

***

## Apply black-and-white filter

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-basic {filter: grayscale(100%);}
```

{% endcode %}

<figure><img src="/files/YBtlc1iTT2vHWBDI8Hju" alt=""><figcaption></figcaption></figure>

***

**Questions about CSS or need assistance? We're excited to help:** [**support@reputon.com**](mailto:support@reputon.com) **or** [**live chat**](https://go.crisp.chat/chat/embed/?website_id=d24ef16e-6e05-49e9-bd59-a6f3bde0658a)**.**


---

# 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/etsy-reviews-app/custom-style-codes/compact-rating-sticky-compact-rating-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.
