Search.../

Pagination CSS Classes

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

You can use the classes listed below to style your Pagination 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.

.pagination

Targets pagination elements. For example:

.pagination {
padding-left: 50px;
}
css | Copy Code

.pagination__current-page

Targets pagination current page element. For example:

.pagination__current-page {
font-family: sans-serif;
color: green;
}
css | Copy Code

.pagination__page-number

Targets pagination page number element. For example:

.pagination__page-number {
font-family: sans-serif;
color: green;
}
css | Copy Code

.pagination__total-pages

Targets pagination total pages element. For example:

.pagination__total-pages {
font-family: sans-serif;
color: black;
}
css | Copy Code

.pagination__navigation-button

Targets pagination navigation buttons. For example:

.pagination__navigation-button {
width: 200px;
cursor: default;
background-color: #116dff;
}
css | Copy Code

.pagination__input-field

Targets pagination input fields. For example:

.pagination__input-field {
border: none;
border-bottom: 2px solid #840292;
background-color: #dfd2f4;
font-family: monospace;
}
css | Copy Code

Was this helpful?