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

# Compact slider / sticky slider widget

## Change rating color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-rating-stars {color: green;}

/* change the color of the main slide */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-info .reputon-rating-stars {color: green;}

/* change the color of the review slides */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-slide-container .reputon-rating-stars {color: green;}
```

{% endcode %}

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

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

***

## Change name color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-name {color: green;}
```

{% endcode %}

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

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

***

## Change reviews counter color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-reviews-count {color: green;}
```

{% endcode %}

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

***

## Change date color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-date {color: green;}
```

{% endcode %}

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

***

## Change review text color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-text {color: green;}
```

{% endcode %}

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

***

## Change slider background color

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-slide {background: skyblue;}

/* make hover color lighter or darker than the container's color*/
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-container:hover .reputon-slide {background: skyblue;}

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

{% endcode %}

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

***

## Change border width, style and color

{% code overflow="wrap" %}

```css
/* change the color except for the top */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-badge {
	border: 3px solid orange;
	border-top: none;}

/* change the top color */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-badge:before {background: dodgerblue;}
```

{% endcode %}

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

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

***

## Change widget font

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-carousel-holder {font-family: Comic Sans MS !important;}
```

{% endcode %}

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

***

## Center review counter

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-reviews-count {align-self: center;}
```

{% endcode %}

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

***

## Center rating name

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-name {text-align: center;}
```

{% endcode %}

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

***

## Center rating

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-name {text-align: center;}

.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-content {align-items: center;}
```

{% endcode %}

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

***

## **Hide carousel elements**

{% code overflow="wrap" %}

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

/* hide review text */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-text {display: none;}

/* hide review date */
.reputon-amazon-reviews-widget .reputon-basic-slide .reputon-date {
	display: none;
	justify-content: center;}
```

{% endcode %}

***

## Move widget to the left

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget  .reputon-basic-slide {margin: 0 !important;}
.reputon-amazon-reviews-widget {justify-content: flex-start !important;}
```

{% endcode %}

***

## Move widget to the right

{% code overflow="wrap" %}

```css
.reputon-amazon-reviews-widget  .reputon-basic-slide {margin: 0 !important;} 
.reputon-amazon-reviews-widget {justify-content: flex-end !important;}

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

{% endcode %}

***

## Add margin above widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Add margin below widget

{% code overflow="wrap" %}

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

{% endcode %}

***

## Apply black-and-white filter

{% code overflow="wrap" %}

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

{% endcode %}

<figure><img src="/files/Ky61Bgf5lkqKVOuBKfwd" 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/amazon-reviews-app/custom-style-codes/compact-slider-sticky-slider-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.
