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

# Compact rating/sticky compact rating widget

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

### Remove some blocks

{% code overflow="wrap" %}

```css
/* remove logo */
.reputon-ebay-reviews-widget .reputon-basic .reputon-info .reputon-image {display: none;}
	
/* remove reviews count block */
.reputon-ebay-reviews-widget .reputon-basic .reputon-info .reputon-reviews-count {display: none;}
	
/* remove rating */
.reputon-ebay-reviews-widget .reputon-basic .reputon-rating-stars {display: none;}
```

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FYx5fldlNaN4FJQhlFKj9%2Fimage.png?alt=media&amp;token=e21a3143-69ad-4813-bc6c-197090b9a1dd" alt=""><figcaption><p>logo</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2Fck1gyUTLEylavuOiWzNw%2Fimage%201.png?alt=media&amp;token=557b68a6-6c37-404b-a974-c95cf04258b8" alt=""><figcaption><p>reviews counter</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2F6zGdKPgo9yBCnDb3ahUX%2Fimage%202.png?alt=media&amp;token=0657187c-9464-41a7-8795-1b3f5fdcc553" alt=""><figcaption><p>rating</p></figcaption></figure>

***

### Change widget main color

<pre class="language-css" data-overflow="wrap"><code class="lang-css">/* Rating stars color */
.reputon-ebay-reviews-widget .reputon-basic .reputon-count-text {color: red;}

/* 'Positive feedback' color */
.reputon-ebay-reviews-widget .reputon-basic .reputon-reviews-marktext {color: red;}

/* Reviews count color */
.reputon-ebay-reviews-widget .reputon-basic .reputon-reviews-count {color: red;}

/* Rating counter color */
<strong>.reputon-ebay-reviews-widget .reputon-basic .reputon-count-number {color: red;}
</strong>
/* change color of the top element */
.reputon-ebay-reviews-widget .reputon-basic .reputon-badge:before {background: skyblue;}
</code></pre>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FC5GpfpJX01KFc5xYrMPa%2Fimage%203.png?alt=media&amp;token=5e9c3fcd-7401-4e07-91e8-eda15b0d0da2" alt=""><figcaption><p>rating stars</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FIv6mfIeXvc2r1eTbd6nc%2Fimage%204.png?alt=media&amp;token=8c80c3d5-ee17-4862-8a60-fdd067196f33" alt=""><figcaption><p>positive feedback</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FYOjbINaWTNIAw3Mz6KWy%2Fimage%205.png?alt=media&amp;token=22b934d1-caaa-4fbe-9402-f17252417522" alt=""><figcaption><p>reviews counter</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FZXZWad5wgb7p65uVrzkE%2Fimage%206.png?alt=media&amp;token=49425e54-e10a-4e0c-b043-9c10925175a2" alt=""><figcaption><p>rating counter</p></figcaption></figure>

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FkCwPpdx79jJkW3GJPfFc%2Fimage%207.png?alt=media&amp;token=601bdab6-865f-4bcb-ba69-44afa3d24ad7" alt=""><figcaption><p>top border</p></figcaption></figure>

***

### Change background color

{% code overflow="wrap" %}

```css
.reputon-ebay-reviews-widget .reputon-basic .reputon-container 	{background: #b8ddd1;}
.reputon-ebay-reviews-widget .reputon-basic .reputon-bt-close {
	background: #b8ddd1;}

/* change color when hover at element */
.reputon-ebay-reviews-widget .reputon-basic .reputon-container:hover {
   	background: #b8ddd1;}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FhvvtCEab8uPphaXbtm6I%2Fimage%208.png?alt=media&amp;token=8d78b986-e720-4ce9-aa92-8e415a1af77d" alt=""><figcaption></figcaption></figure>

***

### Change widget font

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FuHmkQR24dYm0LeTgqD5j%2Fimage%209.png?alt=media&amp;token=9144128b-e45b-40fe-962a-ad64990f8f8e" alt=""><figcaption></figcaption></figure>

***

### Center widget content

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2F7WY4xLRa49E5mpJ38lSo%2Fimage%2010.png?alt=media&amp;token=5a0ab146-36c6-4572-a02c-f2293aa124da" alt=""><figcaption></figcaption></figure>

***

### Remove top border

{% code overflow="wrap" %}

```css
.reputon-ebay-reviews-widget .reputon-basic .reputon-badge:before {content: none;}
```

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FA6NlOuYmxKmtbX7btLMi%2Fimage%2011.png?alt=media&amp;token=552f5295-0d1c-4b95-8b55-445d6abac70b" alt=""><figcaption></figcaption></figure>

***

### Remove shadow and add border

{% code overflow="wrap" %}

```css
.reputon-ebay-reviews-widget .reputon-basic .reputon-badge {
	box-shadow: none;
	border: 2px solid rgb(79, 206, 106);}
```

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FIj00pLWow07stlR2uvEH%2Fimage%2012.png?alt=media&amp;token=b1914efe-5cf9-463d-94bc-d30eb9ad97b1" alt=""><figcaption></figcaption></figure>

***

### Change widget width

💡 min width: 205px

{% code overflow="wrap" %}

```css
.reputon-ebay-reviews-widget .reputon-basic .reputon-container {width: 470px !important;}
```

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FWZD1u6O93DpeDNzoAFAn%2Fimage%2013.png?alt=media&amp;token=4fb3fd8c-d23c-4cc0-9127-cddfeee76900" alt=""><figcaption></figcaption></figure>

***

### Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

### Move the widget

{% code overflow="wrap" %}

```css
/* move to the left of the block */
.reputon-ebay-reviews-widget {justify-content: flex-start !important;}
.reputon-ebay-reviews-widget .reputon-basic {margin: 0 !important;}

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

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

{% endcode %}

***

### Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="https://3117523655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0IgF98HXBXPcKr0vKeRb%2Fuploads%2FNaVRpoqjddvfvlM7Kw40%2Fimage%2018.png?alt=media&amp;token=2f3d1150-02d4-412f-9113-1c9efe03edaa" 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/compact-rating-sticky-compact-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.
