# 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 %}

***

## 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: 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/stars-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.
