Skip to main content

Judge.me CSS reference

Updated over 3 weeks ago

Review Widget (legacy version)

CSS reference

You can use the following CSS classes to customize the appearance of the Review Widget. Each class corresponds to a specific visual element that you can target with your own stylesheet.

1. Main container and layout

CSS class / selector

What it controls in the Review Widget

#judgeme_product_reviews

Outer container for the Review Widget

.jdgm-widget.jdgm-review-widget

Main widget wrapper around all Review Widget content

.jdgm--done-setup-widget

State class added once the widget has finished loading

.jdgm-legacy-widget-content

Inner wrapper for the legacy Review Widget layout

.jdgm-rev-widg

Core Review Widget box (header, body, footer, etc.)

.jdgm-temp-hiding-style

Temporary inline <style> used to hide the widget while it loads

2. Header: title, summary, histogram, actions

Title and summary

CSS class / selector

What it controls in the Review Widget

.jdgm-rev-widg__header

Header strip at the top of the Review Widget

.jdgm-rev-widg__title

"Customer Reviews" title text

.jdgm-row-stars

Row that contains the rating summary + histogram + "Write a review" button

.jdgm-rev-widg__summary

Wrapper around the rating summary block

.jdgm-rev-widg__summary-inner

Inner layout for average rating and summary text

.jdgm-rev-widg__summary-stars

Row with large average rating stars and "X out of 5" text

.jdgm-star

Individual star icon (used everywhere: summary, reviews, forms)

.jdgm--on

Filled/active star state

.jdgm--off

Empty/inactive star state

.jdgm--half

Half-filled star state

.jdgm-rev-widg__summary-average

"4.64 out of 5" text next to the average stars

.jdgm-rev-widg__summary-text

"Based on X reviews" text underneath the average stars

Histogram

CSS class / selector

What it controls in the Review Widget

.jdgm-histogram

Rating breakdown / histogram block

.jdgm-histogram__row

Single histogram row for a specific star rating

.jdgm-histogram__star

Clickable row of stars used to filter by rating

.jdgm-histogram__bar

Background track for the histogram bar

.jdgm-histogram__bar-content

Filled portion showing percentage width

.jdgm-histogram__frequency

Count of reviews for that rating (e.g. 20)

.jdgm-histogram__clear-filter

"See all reviews" link to clear rating filters

Header actions

CSS class / selector

What it controls in the Review Widget

.jdgm-widget-actions-wrapper

Container for header-level widget actions

.jdgm-write-rev-link

The "Write a review" button

3. Forms (inline + dynamic)

Inline “Write a review” form

CSS class / selector

What it controls in the Review Widget

.jdgm-form-wrapper

Container for the inline "Write a review" form

.jdgm-form

Base form element (used by both inline and dynamic forms)

.jdgm-form__title

"Write a review" form title

.jdgm-form__fieldset

Wrapper for each form field (label + input/textarea/etc.)

.jdgm-form__inline-label

Inline label above inputs (e.g. "Review Title", "Review content")

.jdgm-countdown

Character countdown region next to title/content fields

.jdgm-form__rating

Star rating selector inside the inline form

.jdgm-media-fieldset__container

Container for the media upload field

.jdgm-picture-fieldset__box

Media upload box

.jdgm-picture-fieldset__box--input

Specific upload input area inside the box

.jdgm-picture-fieldset__box-wrapper

Inner wrapper inside the media upload box

.jdgm-media-fieldset__icon

Icon displayed inside the media upload box

.jdgm-media-fieldset__input

File input for pictures/videos

.jdgm-custom-forms

Container for custom form fields in the inline form

.jdgm-form__reviewer-name-format-container

Wrapper around "displayed publicly like" name format controls

.jdgm-sort-dropdown-wrapper

Wrapper around any dropdown (name format, sort)

.jdgm-sort-dropdown

<select> element for dropdown (used for name format and sorting)

.jdgm-sort-dropdown-arrow

Arrow icon beside dropdown selectors

.jdgm-form__email-fieldset

Fieldset for the email address field

.jdgm-form__fieldset-actions

Bottom row containing Cancel / Submit buttons

.jdgm-btn

Base button style

.jdgm-btn--border

Secondary/outlined button style (e.g. Cancel)

.jdgm-btn--solid

Primary/solid button style (e.g. Submit)

.jdgm-cancel-rev

"Cancel review" button in the inline form

.jdgm-submit-rev

"Submit review" button in the inline form

Dynamic / multi-step form

CSS class / selector

What it controls in the Review Widget

.jdgm-form-dynamic-wrapper

Container for the dynamic, multi-step review form

.jdgm-form-dynamic

Base form element for the dynamic flow

.jdgm-form-dynamic__close

Close icon/button for the dynamic form

.jdgm-form-dynamic__row

Single step/slide in the dynamic form

.jdgm-form-dynamic__picture-upload-field

Step for picture/video upload

.jdgm-form-dynamic__row-inner

Inner wrapper inside each step

.jdgm-form-dynamic__buttons-row

Row containing Back/Next buttons for a step

.jdgm-form-dynamic__back

"Back" button for dynamic steps

.jdgm-form-dynamic__next

"Next" button for dynamic steps

.jdgm-form-dynamic__rating

Star rating selector in the dynamic flow

.jdgm-form-dynamic__email-fieldset

Email field block in the dynamic flow

.jdgm-form-dynamic__submit-slide

Final slide containing title + content fields

.jdgm-custom-forms-dynamic

Custom form fields container in the dynamic flow

.jdgm-form-dynamic__submit-rev

"Submit" button for the dynamic form

4. Medals, media row, gallery, search

Medals

CSS class / selector

What it controls in the Review Widget

.jdgm-row-media

Row beneath the form for medals or gallery content

.jdgm-medals-wrapper

Wrapper around the medals block

.jdgm-medals

Medals component container

.jdgm-medals__container

Inner layout wrapper for one or more medals

.jdgm-medal-wrapper

Wrapper around a single medal

.jdgm-medal

Clickable medal element

.jdgm-medal__image

Medal image container

.jdgm-medal__value

Medal value text (e.g. "100.0")

Gallery

CSS class / selector

What it controls in the Review Widget

.jdgm-gallery-wrapper

Wrapper for "Customer photos & videos" section

.jdgm-gallery-title

"Customer photos & videos" heading text

.jdgm-gallery

Main customer media gallery container

.jdgm-gallery__thumbnail-link

Clickable thumbnail link for a gallery image

.jdgm-gallery__thumbnail-wrapper

Inner wrapper around each gallery thumbnail

.jdgm-gallery__thumbnail

Gallery thumbnail image itself

Search

CSS class / selector

What it controls in the Review Widget

.jdgm-row-search

Row containing the review search field

.jdgm-review-search-wrapper

Wrapper around the search input

.jdgm-review-search

Search input for filtering reviews by text

5. Custom forms filters (above the reviews)

CSS class / selector

What it controls in the Review Widget

.jdgm-custom-forms-filters

Container for custom form filters above the reviews

.jdgm-rev__cf-ans

Single custom-form answer block within filters

.jdgm-rev__cf-ans__title

Question label text inside a filter block (e.g. “test:”)

.jdgm-rev__cf-options-wrapper

Wrapper around chip-style filter options for a question

.jdgm-rev__cf-option

Individual chip option used as a filter

.jdgm-chip

Generic chip-style pill used for options and filter buttons

.jdgm-custom-forms-filters__button

"Filters" button that opens/closes custom form filters

6. Reviews list, content, transparency badges, actions

Review container + header

CSS class / selector

What it controls in the Review Widget

.jdgm-rev-widg__body

Main body of the widget containing reviews and pagination

.jdgm-rev-widg__reviews

Container for the list of individual reviews

.jdgm-rev

Single review card including header, content, and actions

.jdgm-divider-top

Top border/divider above each review

.jdgm--done-setup

State class on each review indicating it has finished rendering

.jdgm-rev__header

Top section of the review (product info, rating, author, date, location)

.jdgm-row-product

Area reserved for product info in the review header

.jdgm-row-rating

Row that shows the star rating and date

.jdgm-rev__rating

Star rating row for an individual review

.jdgm-rev__timestamp

Review date text (e.g. "10/30/2024")

.jdgm-row-profile

Row containing reviewer icon + name + buyer badge

.jdgm-rev__icon

Reviewer avatar/icon placeholder

.jdgm-rev__author-wrapper

Wrapper around reviewer name and badges

.jdgm-rev__author

Reviewer display name (e.g. "Anonymous")

.jdgm-rev__buyer-badge-wrapper

Wrapper around the “Verified buyer” badge

.jdgm-rev__buyer-badge

Buyer badge element itself (no text in HTML, styled as icon/label)

.jdgm-row-extra

Row for additional information such as location and flag

.jdgm-rev__location

Reviewer location text

.jdgm-rev__location-country-flag-img

Country flag image next to the location

.jdgm-rev__br

Line-break / separator between header and content

Review content & custom forms within reviews

CSS class / selector

What it controls in the Review Widget

.jdgm-rev__content

Main content area of the review

.jdgm-rev__title

Review title text (in <b> tag)

.jdgm-rev__body

Review body text (<p> content)

.jdgm-rev__custom-form

Container for custom form answers within a review

.custom-form--horizontal-style

Layout modifier for rendering custom form answers horizontally

.jdgm-rev__cf-ans--type

Wrapper for a specific type of custom form answer (text/graphic)

.jdgm-rev__cf-ans--text-type

Wrapper for text-style custom form answers

.jdgm-rev__cf-ans--graphic-type

Wrapper for graphic-style custom form answers inside a review

.jdgm-rev__cf-ans__value

Value text of a custom form answer (e.g. "1")

Review media inside reviews

CSS class / selector

What it controls in the Review Widget

.jdgm-rev__pics

Container for pictures attached to a review

.jdgm-rev__pic-link

Link around a review image (often opens in a lightbox)

.jdgm-rev__pic-img

Review image thumbnail inside the review content

Transparency badges

CSS class / selector

What it controls in the Review Widget

.jdgm-rev__transparency-badge-wrapper

Container for transparency badge(s) under the review

.jdgm-rev__transparency-badge

Transparency badge element (e.g. “Review collected from another provider”)

Review actions: social + votes

CSS class / selector

What it controls in the Review Widget

.jdgm-rev__actions

Bottom row of the review (sharing + helpful votes)

.jdgm-rev__social

Container for social sharing buttons

.jdgm-rev__social-inner

Inner wrapper around social share icons

.jdgm-rev__share-btn

Base class for a share button

.jdgm-rev__share-fb

Facebook share button icon

.jdgm-rev__share-twitter

Twitter share button icon

.jdgm-rev__share-pinterest

Pinterest share button icon

.jdgm-rev__share-linkedin

LinkedIn share button icon

.jdgm-rev__votes

Container for “helpful/not helpful” vote controls

.jdgm-rev__votes-inner

Inner wrapper around thumb icons + counts

.jdgm-rev__thumb-btn

Base class for thumb vote buttons

.jdgm-rev_thumb-up

"Thumbs up" (helpful) vote button

.jdgm-rev_thumb-down

"Thumbs down" (not helpful) vote button

.jdgm-rev__thumb-count

Base class for thumb vote counts

.jdgm-rev_thump-up-count

Helpful vote count

.jdgm-rev_thump-down-count

Not-helpful vote count

7. Pagination and authenticity link

CSS class / selector

What it controls in the Review Widget

.jdgm-paginate

Pagination container under the reviews list

.jdgm-paginate__page

Individual page button (number or arrow)

.jdgm-curt

Current/active page button

.jdgm-paginate__next-page

"Next page" button

.jdgm-paginate__last-page

"Last page" button

.jdgm-collected-link

Wrapper for the authenticity link below the reviews

.jdgm-link

Styled link (e.g. "How reviews are collected?")

.jdgm-rev-widg__paginate-spinner-wrapper

Wrapper around the loading spinner for pagination

.jdgm-spinner

Spinner shown while more reviews are loading


Star Rating Badge

HTML structure

Example HTML structure of how the Star Rating Badge is loaded on the product page:

<div class="jdgm-widget jdgm-preview-badge jdgm-preview-badge--with-link jdgm--done-setup" data-id="8031779455283" data-template="manual-installation" data-widget-name="preview_badge" data-impressions-tracked="true" data-views-tracked="true">
<div style="display:none" class="jdgm-prev-badge" data-average-rating="5.00" data-number-of-reviews="3" data-number-of-questions="0">
<span class="jdgm-prev-badge__stars" data-score="5.00" tabindex="0" aria-label="5.00 stars" role="button">
<span class="jdgm-star jdgm--on"></span>
<span class="jdgm-star jdgm--on"></span>
<span class="jdgm-star jdgm--on"></span>
<span class="jdgm-star jdgm--on"></span>
<span class="jdgm-star jdgm--on"></span>
</span>
<span class="jdgm-prev-badge__text">3 reviews</span>
</div>
</div>

CSS reference

You can use the following CSS classes to customize the appearance of the Star Rating Badge. Each class corresponds to a specific visual element that you can target with your own stylesheet.

CSS class / selector

What it controls in the Star Rating Badge

.jdgm-preview-badge

Main container for the Star Rating Badge

.jdgm-preview-badge--with-link

Automatically added when the Star Rating Badge is displayed as a link

.jdgm-prev-badge

Inner wrapper that holds the stars + text

.jdgm-prev-badge__stars

Wrapper for the row of star icons

.jdgm-star

Individual star icon inside the badge

.jdgm--on

"Filled"/active star state

.jdgm--off

"Empty"/inactive star state

.jdgm-prev-badge__text

Star rating text


Reviews Carousel

CSS reference

You can use the following CSS classes to customize the appearance of the Reviews Carousel. Each class corresponds to a specific visual element that you can target with your own stylesheet.

1. Wrapper, title, and overall rating

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel-wrapper

Outer wrapper around the entire Reviews Carousel block. Controls overall width and positioning on the page

.jdgm-carousel-title-and-link

Container holding the carousel title and overall store rating summary

.jdgm-carousel-title

Heading text at the top of the carousel (e.g. "Let customers speak for us")

.jdgm-all-reviews-rating-wrapper

Wrapper around the overall rating stars and "from X reviews" text

.jdgm-all-reviews-rating

Overall store rating stars (e.g. 4.57 stars) shown above the carousel

.jdgm-carousel-number-of-reviews

"from 465 reviews" text next to/under the overall rating

.jdgm-widget.jdgm-carousel

Main widget container for the carousel itself

.jdgm-carousel--default-theme

Theme modifier applied automatically for the default carousel style (state/theme indicator, not meant to be added manually)

.jdgm-carousel--done

State class added automatically once the carousel is fully initialized (used internally; not meant to be toggled by CSS)

2. Carousel track and items

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel__item-container

Viewport area that holds the moving row of review cards

.jdgm-carousel__item-wrapper

Inner wrapper that slides horizontally to show different reviews

.jdgm-carousel-item

Single review card inside the carousel

.jdgm--shop-review

Modifier indicating this item is a shop review rather than a product review (applied automatically)

3. Review content inside each carousel card

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel-item__review

Main box containing stars + title + body of the review

.jdgm-carousel-item__review-rating

Row of star icons for the review rating inside the card

.jdgm-star

Individual star icon (used here and across Judge.me widgets)

.jdgm--on

Filled/active star state

.jdgm--half

Half-filled star state for partial ratings

.jdgm-carousel-item__review-content

Wrapper around the review title and body text within the card

.jdgm-carousel-item__review-title

Review title text in the carousel card

.jdgm-carousel-item__review-body

Review body text snippet in the carousel card

.jdgm-line-clamp

Utility class used to limit the number of visible text lines and show ellipsis when text overflows

4. Reviewer name and date

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel-item__reviewer-name-wrapper

Row under the review content that holds the reviewer name and date

.jdgm-carousel-item__reviewer-name

Reviewer name

.jdgm-carousel-item__timestamp

Review date

.jdgm-ellipsis

Utility class that truncates overflowing text with an ellipsis (used for long names, dates, or product titles)

5. Linked product area (image + title)

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel-item__product

Clickable area at the bottom of the card linking to the product page. Contains product image and/or title

.jdgm--shop-review-has-image

Modifier added automatically when the review card includes a product image

.jdgm-carousel-item__product-image

Product thumbnail image shown in the carousel card

.jdgm-carousel-item__product-title

Product title text under/next to the product image

6. Carousel arrows (navigation)

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel__arrows

Container that holds the left and right navigation arrows for the carousel

.jdgm-carousel__left-arrow

Left arrow icon/button used to scroll to previous items

.jdgm-carousel__right-arrow

Right arrow icon/button used to scroll to next items

7. AI-generated review summary section (below the carousel)

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel__rev-sum-wrapper

Wrapper for the AI-generated store review summary section below the carousel.

.jdgm-carousel__rev-sum-header

Header text (e.g. “What customers think about the store”).

.jdgm-carousel__rev-sum-content

<p> element containing the AI-generated summary text.

.jdgm-carousel__rev-sum-short

Shortened version of the summary (used when collapsed).

.jdgm-carousel__rev-sum-full

Full version of the summary (used when expanded).

.jdgm-carousel__rev-sum-read-more

“Read more” / toggle link used to switch between short and full summary.

.jdgm-carousel__rev-sum-info

Line under the text that explains how the summary was created (e.g. “AI-generated from customer reviews.” with icon).

8. AI summary keywords / tags

CSS class / selector

What it controls in the Reviews Carousel

.jdgm-carousel__rev-sum-kwds

Container for the list of keyword chips under the summary

.jdgm-carousel__rev-sum-kwd

Single keyword chip (e.g. “Coffee”, “Delivery”, “Machine”, “Quality”)

.positive-sentiment

Sentiment modifier for positive keywords (used for color/icon variations)

.jdgm-carousel__kwd-icon-color-positive

Wrapper around the positive sentiment icon (affects icon styling next to the keyword)

Did this answer your question?