> 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/stars-rating-widget.md).

# Stars rating widget

## Align in a row

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-container {flex-direction: row;}

/* add some space */
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-container {gap: 10px;}
```

{% endcode %}

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

***

## Move to the left

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-wrapper {justify-content: flex-start;}
```

{% endcode %}

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

***

## Move to the right

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-wrapper {justify-content: flex-end;}
```

{% endcode %}

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

***

## Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Change rating color

{% code overflow="wrap" %}

```css
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-top-part {color: dodgerblue;}

/* change counter color only */
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-top-part .reputon-rating-count {color: dodgerblue;}

/* change rating stars color only */
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-top-part svg {color: dodgerblue;}
```

{% endcode %}

<div><figure><img src="/files/H7FNZRvbMk8KKFchkjoz" alt=""><figcaption></figcaption></figure> <figure><img src="/files/w8riWwtM77zcy55tL4bG" alt=""><figcaption></figcaption></figure> <figure><img src="/files/OIHFRHgpxm7AQFXh6HsY" alt=""><figcaption></figcaption></figure></div>

***

## Hide elements

{% code overflow="wrap" %}

```css
/* hide rating counter */
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-top-part .reputon-rating-count {display: none;}

/* hide reviews counter */
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-reviews-count {display: none;}
```

{% endcode %}

***

## Change reviews counter color

{% code overflow="wrap" %}

```css
/* change customer name and stars count color*/
.reputon-etsy-reviews-widget .reputon-stars-widget .reputon-reviews-count {color: dodgerblue;}
```

{% endcode %}

<figure><img src="/files/ZSOLteeZ5CsR5lsiP4XB" 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/stars-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.
