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

# Compact/sticky compact rating widget

### Change rating color

{% code overflow="wrap" %}

```css
/* сhange header rating stars color */
.reputon-facebook-reviews-widget .reputon-basic .reputon-rating-stars .reputon-count-text {color: red;}

/* сhange header rating counter color */
.reputon-facebook-reviews-widget .reputon-basic .reputon-rating-stars .reputon-count-number {color: red;}
```

{% endcode %}

<figure><img src="/files/p6RWH0Ma6f9akpCFyDA4" alt=""><figcaption><p>Rating stars</p></figcaption></figure>

<figure><img src="/files/sZLVIji1hPzx4xR9OU3l" alt=""><figcaption><p>Rating counter</p></figcaption></figure>

***

### Change name color

<pre class="language-css" data-overflow="wrap"><code class="lang-css"><strong>.reputon-facebook-reviews-widget .reputon-basic .reputon-content .reputon-name {color:red;}
</strong></code></pre>

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

***

### Change reviews counter color

{% code overflow="wrap" %}

```css
.reputon-facebook-reviews-widget .reputon-basic .reputon-content .reputon-reviews-count {color: red;}
```

{% endcode %}

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

***

### Change widget font

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Center review counter

{% code overflow="wrap" %}

```css
.reputon-facebook-reviews-widget .reputon-basic .reputon-reviews-count {align-self: center;}
```

{% endcode %}

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

***

### Center rating name

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Center Content

{% code overflow="wrap" %}

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

.reputon-facebook-reviews-widget .reputon-basic .reputon-content {align-items: center;}
```

{% endcode %}

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

***

### Hide widget element

{% code overflow="wrap" %}

```css
/* hide reviews counter */
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge .reputon-reviews-count {display: none;}

/* hide Facebook logo */
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge .reputon-image {display: none;}

/* hide name */
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge .reputon-name {display: none;}

/* hide top border */
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge {border: none;}

/* remove shadow */
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge {box-shadow: none;}
```

{% endcode %}

<figure><img src="/files/EPrkcysc89SX3X3O0Tbh" alt=""><figcaption><p>Hide top border</p></figcaption></figure>

***

### Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Change top border color

{% code overflow="wrap" %}

```css
.reputon-facebook-reviews-widget .reputon-basic .reputon-badge {border-color: pink;}
```

{% endcode %}

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

***

### Move the widget

{% code overflow="wrap" %}

```css
/* move block start  */
.reputon-facebook-reviews-widget .reputon-basic {
	margin-left: 0 !important;}

/* move block center */
.reputon-facebook-reviews-widget .reputon-basic {
	margin: 0 !important;}

/* move to the end of the block */
.reputon-facebook-reviews-widget .reputon-basic {
	margin-right: 0 !important;}

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

{% endcode %}

***

### Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

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

***

### Change background color

{% code overflow="wrap" %}

```css
.reputon-facebook-reviews-widget .reputon-basic .reputon-container {background: antiquewhite !important;}

/* change color on element hover */
.reputon-facebook-reviews-widget .reputon-basic .reputon-container:hover {background: wheat;}

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

{% endcode %}

<figure><img src="/files/9yBoIh2nyADVFPUCsY4e" alt=""><figcaption></figcaption></figure>

***

{% hint style="info" icon="comments-question-check" %}
**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/facebook-reviews-app/custom-style-codes/compact-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.
