> 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/google-reviews-app/custom-style-codes/compact-widgets/one-line-widget.md).

# One line widget

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

### Remove widget elements

{% code overflow="wrap" %}

```css
/* remove rating stars */
.reputon-google-reviews-widget .reputon-star-rating .reputon-rating-stars {display: none;}

/* remove rating counter */
.reputon-google-reviews-widget .reputon-star-rating .reputon-rating-count {display: none;}

/* remove reviews counter */
.reputon-google-reviews-widget .reputon-star-rating .reputon-reviews-count {display: none;}

/* remove Google logo */
.reputon-google-reviews-widget .reputon-star-rating .reputon-logo {display: none;}
```

{% endcode %}

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2F9XSlMpfofXKzCr62hIUQ%2F1.png?alt=media&amp;token=58852484-1e84-4fe6-b014-9763d75d9eab" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2F24KUyQIKvE1qy2Az5ofY%2F2.png?alt=media&amp;token=64757274-8e41-4132-9b98-f6329e980a56" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FCyHLeMLkyueeiL6ODChz%2F3.png?alt=media&amp;token=63e6e131-e933-4faa-9b60-ae9b45a0ea47" alt=""><figcaption></figcaption></figure>

***

### Change widget color

{% code overflow="wrap" %}

```css
/* color rating stars */
.reputon-google-reviews-widget .reputon-star-rating .reputon-rating-stars {color: pink;}

/* color rating counter */
.reputon-google-reviews-widget .reputon-star-rating .reputon-rating-count {color: pink;}

/* color reviews counter */
.reputon-google-reviews-widget .reputon-star-rating .reputon-reviews-count {color: pink;}
```

{% endcode %}

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FNxs4awiIUkExaNOKOpzR%2F4.png?alt=media&amp;token=05a5c07d-8b7e-4d7d-9ba7-8e8248804b63" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FRxPhgLBwbttMN9svYGSD%2F5.png?alt=media&amp;token=dd899707-2a63-456b-b420-ff990cd6f882" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FA7cXDivxezwKSPoYtRvT%2F6.png?alt=media&amp;token=9a2866f7-f4e6-46fd-8b66-3a3e2894a9ae" alt=""><figcaption></figcaption></figure>

***

### Change direction

{% code overflow="wrap" %}

```css
.reputon-google-reviews-widget .reputon-star-rating .reputon-review-badge {flex-direction: column;}
```

{% endcode %}

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FC65fPsnRFkYbATwfadY3%2F7.png?alt=media&amp;token=fd739e55-a333-4ac9-bd9e-5e39c1681bac" alt=""><figcaption></figcaption></figure>

***

### Move widget

{% code overflow="wrap" %}

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

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

/* move to center of the block */
.reputon-google-reviews-widget {justify-content: center !important;}
.reputon-google-reviews-widget .reputon-star-rating {margin: 0 !important;}

```

{% endcode %}

<div><figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2Fj8F0wxxGuJcefHCRyCRI%2F8.png?alt=media&amp;token=a176c2a4-7e4b-4fdb-9aba-6d908f63b689" alt=""><figcaption></figcaption></figure> <figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FOamH8oGub7wyT4MIq9KN%2F9.png?alt=media&amp;token=aebae744-ac8c-4848-83eb-910feb722607" alt=""><figcaption></figcaption></figure> <figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FY8KFpVMr8zyegrqfzYCa%2F10.png?alt=media&amp;token=ca1b7f68-0346-4e10-8b3a-e891bf69bf28" alt=""><figcaption></figcaption></figure></div>

***

### Hide widget on mobile

{% code overflow="wrap" %}

```css
@media (max-width: 460px) { 
	.reputon-google-reviews-widget .reputon-star-rating.reputon-reviews-holder {display: none;}}
```

{% endcode %}

***

### Apply black-and-white filter

<figure><img src="https://3311081497-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkZZ4LuP4fAqhhizix17%2Fuploads%2FcZCdWnGNjBSwzw1g8CDl%2F11.png?alt=media&amp;token=040b0728-0903-4768-b29f-0309c4b4b6ce" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```css
.reputon-google-reviews-widget .reputon-star-rating {filter: grayscale(100%);}
```

{% endcode %}

***

{% hint style="info" icon="comments-question" %}
**Have questions or need help with CSS?** **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/google-reviews-app/custom-style-codes/compact-widgets/one-line-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.
