Search.../

Ratings Display CSS Classes

Note: This feature is only available to Wix Studio users.

You can use the classes listed below to style your RatingsDisplay elements with CSS.

For more information on styling your elements with CSS, see Styling Elements with CSS and the MDN CSS reference docs.

Important: Element structure and undocumented class names may change without advance warning. To avoid unintended style changes to your site, select elements with the documented class names only.

.ratings-display

Targets ratings display elements. For example:

.ratings-display {
display: block;
padding-left: 50px;
}
css | Copy Code

.ratings-display__label

Targets ratings display label text. For example:

.ratings-display__label {
font-family: sans-serif;
font-weight: 700;
text-transform: uppercase;
color: black;
}
css | Copy Code

Was this helpful?