> 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/google-reviews-app/custom-style-codes/compact-widgets/rating-badge-small-minimized-compact-rating-widget.md).

# Rating badge small / minimized compact rating widget

### Remove widget elements

{% code overflow="wrap" %}

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

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

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

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

{% endcode %}

***

### Change rating counter color

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Change rating stars color

{% code overflow="wrap" %}

```css
.reputon-google-reviews-widget .reputon-small .reputon-rating-stars {color: red;}
```

{% endcode %}

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

***

### Change widget reviews count color

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Change background color

{% code overflow="wrap" %}

```css
/* change widget background */
.reputon-google-reviews-widget .reputon-small .reputon-container {background: antiquewhite;}

/* change close button */
.reputon-google-reviews-widget .reputon-small .reputon-bt-close {background: antiquewhite;}

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

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

{% endcode %}

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

***

### Move widget

{% code overflow="wrap" %}

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

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

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

{% endcode %}

***

### Hide widget on mobile

{% code overflow="wrap" %}

```css
@media (max-width: 460px) { 
	.reputon-google-reviews-widget .reputon-small.reputon-reviews-holder {display: none; }}
```

{% endcode %}

***

{% hint style="info" icon="comments-question" %}
**Have questions or need help with CSS?** **We're here 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)
{% 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/google-reviews-app/custom-style-codes/compact-widgets/rating-badge-small-minimized-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.
