> 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/amazon-reviews-app/custom-style-codes/stars-rating-widget.md).

# Stars rating widget

## Align in a row

{% code overflow="wrap" %}

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

{% endcode %}

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

***

## Move to the left

{% code overflow="wrap" %}

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

{% endcode %}

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

***

## Move to the right

{% code overflow="wrap" %}

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

{% endcode %}

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

***

## Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Remove paddings

```css
.reputon-amazon-reviews-widget .reputon-stars-widget {padding: 0 !important;}
.reputon-amazon-reviews-widget .reputon-stars-widget .reputon-stars {padding: 0 !important;}
```

***

## Change rating color

{% code overflow="wrap" %}

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

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

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

{% endcode %}

<div><figure><img src="/files/VPQAhTuZXcPtBT2rDBDs" alt=""><figcaption></figcaption></figure> <figure><img src="/files/FbH9uo6SpYeoaXeckMC7" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ftq3wrbP3rt3KA17oYXd" alt=""><figcaption></figcaption></figure></div>

***

## Change reviews counter color

{% code overflow="wrap" %}

```css
/* change the color of the customer's name and the stars count */
.reputon-amazon-reviews-widget .reputon-stars-widget .reputon-reviews-count {color: dodgerblue;}
```

{% endcode %}

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

***

## Hide elements

{% code overflow="wrap" %}

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

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

{% endcode %}

***

**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/amazon-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.
