> 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

## 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="/files/WnlqJHaHGR9QXCoce8c2" alt=""><figcaption><p>logo</p></figcaption></figure>

<figure><img src="/files/XrPFwmLJLWnU86BhMvD7" alt=""><figcaption><p>reviews counter</p></figcaption></figure>

<figure><img src="/files/tlCgQamwzrNdYhbu6Rys" 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="/files/zhWzHIhL1mBzHExfJTnw" alt=""><figcaption><p>rating stars</p></figcaption></figure>

<figure><img src="/files/NwNIAxb9BDm2CLWdP1Vj" alt=""><figcaption><p>positive feedback</p></figcaption></figure>

<figure><img src="/files/DInj9OluyVgU3FSL0ocy" alt=""><figcaption><p>reviews counter</p></figcaption></figure>

<figure><img src="/files/2OfiGTeBFwIpxOH8R1f9" alt=""><figcaption><p>rating counter</p></figcaption></figure>

<figure><img src="/files/igSnznndlj51FvezkMxB" 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="/files/pbveKRrrtgmM0ZphlNH4" 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="/files/utSRdk1nQBav14vLvAL9" 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="/files/UHZgKuHAcy8YRfwFK76P" 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="/files/tmXUwOHFMYvhOh4RvvKG" 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="/files/avefGbBKQkPUR53FWyim" 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="/files/NiZEXTc0WZ8AUGAR3h1s" 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="/files/eMdJ4fP6gdbxUFm00UBq" 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/ebay-reviews-app/custom-style-codes/compact-rating-sticky-compact-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.
