# Small/minimized compact rating widget

## Change rating color

<pre class="language-css" data-overflow="wrap"><code class="lang-css">/* change rating counter */
.reputon-amazon-reviews-widget .reputon-small .reputon-rating-count {color: green;}

/* change rating stars */
<strong>.reputon-amazon-reviews-widget .reputon-small .reputon-rating-stars {color: green;}
</strong></code></pre>

<div><figure><img src="/files/lFg05IUXoaMAMLhSnkKd" alt=""><figcaption></figcaption></figure> <figure><img src="/files/jkvc28pCLbuDAtuhiQkA" alt=""><figcaption></figcaption></figure></div>

***

## Change reviews count color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-small .reputon-reviews-count {color: red;}
```

{% endcode %}

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

***

## Change background color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-small .reputon-container {background: antiquewhite;}
	
/* change close button color */
.reputon-amazon-reviews-widget .reputon-small .reputon-bt-close {background: antiquewhite;}

/* change color when hover at element */
.reputon-amazon-reviews-widget .reputon-small .reputon-container:hover {background: wheat;}

/* Add this code to theme.liquid to change the widget section color. */
<style> 
	section:has(.reputon-amazon-reviews-widget .reputon-small) {background: bisque;}
</style> 
```

{% endcode %}

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

***

## Remove widget elements

{% code overflow="wrap" %}

```css
/* remove logo */
.reputon-amazon-reviews-widget .reputon-small .reputon-image {display: none;}

/* remove rating count */
.reputon-amazon-reviews-widget .reputon-small .reputon-rating-count {display: none;}

/* remove rating stars */
.reputon-amazon-reviews-widget .reputon-small .reputon-rating-stars {display: none;}

/* remove reviews count */
.reputon-amazon-reviews-widget .reputon-small .reputon-reviews-count {display: none;}
```

{% endcode %}

***

## Add margin above widget

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-small .reputon-badge {margin-top: 100px !important;}
```

{% endcode %}

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

***

## Add margin below widget

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-small .reputon-badge {margin-bottom: 100px !important;}
```

{% endcode %}

<figure><img src="/files/1BmYLZxnxmzwjeSWIwyU" alt=""><figcaption></figcaption></figure>

***

## Move widget

{% code overflow="wrap" %}

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

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

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

{% endcode %}

***

## Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="/files/qCqzVWzYFp180vOK0O7u" 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: 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/amazon-reviews-app/custom-style-codes/small-minimized-compact-rating-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.
