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

# Stars rating widget

Customize your eBay Reviews stars rating widget with CSS. Change colors, fonts, layout, arrows, and more to match your website design.

### Align text in a row

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2F8AfraE9TCRhyfrVuv1zw%2Fimage.png?alt=media&amp;token=7f0ee696-4deb-4d42-9068-e6cacc298e7f" alt=""><figcaption></figcaption></figure>

***

### Left adjustment

{% code overflow="wrap" %}

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

{% endcode %}

***

### Right adjustment

{% code overflow="wrap" %}

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

{% endcode %}

***

### Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Change rating color

{% code overflow="wrap" %}

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

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

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

{% endcode %}

<div><figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FvckhfUFbqSNoOJZsgOSy%2Fimage%205.png?alt=media&amp;token=fe7abc1f-a168-4085-8957-c86cd52ba5b8" alt=""><figcaption></figcaption></figure> <figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FRPfjuI2uRiDRChlZdMag%2Fimage%206.png?alt=media&amp;token=b3e0e78d-172f-48de-ad1f-f6d09d738d75" alt=""><figcaption></figcaption></figure> <figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FjxNDDrHLlhEu5ZpBra82%2Fimage%207.png?alt=media&amp;token=877d8aee-2403-45f3-ab18-50a810011f60" alt=""><figcaption></figcaption></figure></div>

***

### Hide elements

{% code overflow="wrap" %}

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

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

{% endcode %}

***

### Change reviews counter color

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FgQ0dKYi5V2yp3kYDx2or%2Fimage%2010.png?alt=media&amp;token=efa00ad9-93ae-4b2c-826b-55d3a6518338" alt=""><figcaption></figcaption></figure>

***

{% hint style="info" icon="comments-question-check" %}
**Questions about CSS or need assistance? 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://reputon.gitbook.io/reputon-help/ebay-reviews-app/custom-style-codes/stars-rating-widget.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
