Add custom CSS

You can customize the appearance of your Wishlist (colors, spacing, typography, etc.) using CSS variables.

These variables can be overridden directly in Theme Editor → Custom CSS:

Screenshot in the Use CSS variable for customization guide

Here’s an example of how to use them:

:root {
  --ooo-wl-page-product-card-form-button-background: #ff6600;
  --ooo-wl-page-empty-title-font-size: 28px;
  --ooo-wl-copy-button-border-radius: 8px;
}

Below, you can find the CSS variables that allow you to customize various parts of Wishlist Power.

Product page button

These variables let you style the Wishlist button located on the individual product page (usually near the “Add to cart” button).

Variable Description
--ooo-wl-product-page-button-justify-self alignment of the button in its container (e.g., start, center, end).
--ooo-wl-product-page-button-gap space between icon and text inside the button.
--ooo-wl-product-page-button-padding-inline horizontal padding inside the button.
--ooo-wl-product-page-button-padding-block vertical padding inside the button.
--ooo-wl-product-page-button-width fixed width of the button (optional).
--ooo-wl-product-page-button-min-width minimum width to prevent it from collapsing.
--ooo-wl-product-page-button-max-width maximum width allowed (can be auto or a fixed value).
--ooo-wl-product-page-button-height minimum height of the button.
--ooo-wl-product-page-button-margin-block top and bottom margin of the button.
--ooo-wl-product-page-button-border-radius border roundness (in px or %).
--ooo-wl-product-page-button-font-family font used inside the button.
--ooo-wl-product-page-button-font-weight thickness of the font.
--ooo-wl-product-page-button-font-style italic, normal, etc.
--ooo-wl-product-page-button-font-size size of the text.
--ooo-wl-product-page-button-letter-spacing spacing between characters.
--ooo-wl-product-page-button-line-height vertical spacing between lines (useful with multiline buttons).
--ooo-wl-product-page-button-text-color color of the button text.
--ooo-wl-product-page-button-background-color background color of the button.
--ooo-wl-product-page-button-text-transform forces uppercase, lowercase, etc.
--ooo-wl-product-page-button-icon-color color of the heart icon (inside the button).
--ooo-wl-product-page-button-border-width border thickness (used in outline variant only).

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-variant-warning-display display of the variant warning (useful only in variant mode).

Product card button

This section allows you to customize the Wishlist icon displayed on each product card (grid/list views).

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-product-card-z-index stack order of the Wishlist icon relative to other elements (higher = on top).
--ooo-wl-product-card-button-block-start vertical distance from the top of the product image.
--ooo-wl-product-card-button-block-end vertical distance from the bottom of the image.
--ooo-wl-product-card-button-inline-end horizontal distance from the right edge of the image.
--ooo-wl-product-card-button-inline-start horizontal distance from the left edge of the image.
--ooo-wl-button-card-button-padding padding (inner spacing) of the button icon.
--ooo-wl-product-card-button-background-color background color of the button icon.
--ooo-wl-product-card-button-icon-color color of the heart icon itself.
--ooo-wl-product-card-button-border-radius border radius (roundness) of the button shape.
--ooo-wl-product-card-button-fade-seconds duration of the icon’s hover/fade animation.
--ooo-wl-product-card-button-icon-checked-fill-color icon fill color when the product was added to wishlist
--ooo-wl-product-card-button-icon-checked-stroke-color icon stroke color when the product was added to wishlist
--ooo-wl-product-card-button-unchecked-icon-stroke-color icon stroke color when the product is not in wishlist

Product card loader

This section allows you to customize the loader displayed on each product card (grid/list views).

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-product-card-button-placeholder-background-color loader’s background color.

Wishlist page

To customize the wishlist page using CSS variables, it is recommended to scope the CSS to the page only. To do that, go to your wishlist page template, click on “Apps”:

Screenshot in the Use CSS variable for customization guide

Then add this code in the Custom CSSfield:

ooo-wl-page-container {
    /* Add CSS variables here */
}

Page content

These CSS variables allow you to customize the wishlist page content:

Variable Description
--ooo-wl-page-content-margin-block-start top margin of the main wishlist area.
--ooo-wl-page-content-margin-block-end bottom margin of the main wishlist area.
--ooo-wl-page-content-margin-inline horizontal margin (left/right).
--ooo-wl-page-content-gap vertical spacing between inner sections.
--ooo-wl-page-item-per-row number of product columns per row.
--ooo-wl-page-product-card-container-column-gap horizontal spacing between product cards.
--ooo-wl-page-product-card-container-row-gap vertical spacing between product rows.
--ooo-wl-page-product-card-container-background-color background color of the product card section.

Product card

These CSS variables allow you to customize the product card of the wishlist page:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-product-card-gap spacing between elements inside the product card.
--ooo-wl-page-product-card-text-align horizontal alignment of content (left, center…).
--ooo-wl-page-product-card-background-color background color of the product card.
--ooo-wl-page-product-card-border-radius corner radius of the product card.
--ooo-wl-page-product-card-image-container-background background of product card figure.
--ooo-wl-page-product-card-image-container-mix-blend-mode mix blend mode applied to images.

Product card remove button

These CSS variables allow you to customize the remove product button from the product card:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-product-card-remove-button-block-start distance from the top of the card.
--ooo-wl-page-product-card-remove-button-inline-end distance from the right edge.
--ooo-wl-page-product-card-remove-button-inline-start distance from the left edge.
--ooo-wl-page-product-card-remove-button-width width of the button.
--ooo-wl-page-product-card-remove-button-height height of the button.
--ooo-wl-page-product-card-remove-button-border-width border thickness.
--ooo-wl-page-product-card-remove-button-border-color border color.
--ooo-wl-page-product-card-remove-button-border-radius border corner radius.
--ooo-wl-page-product-card-remove-button-background-color background color of the remove button.
--ooo-wl-page-product-card-remove-button-color color of the icon or label inside the button.

Product card information

These CSS variables allow you to customize the product card information:

Screenshot in the Use CSS variable for customization guide

Product vendor

Variable Description
--ooo-wl-page-product-card-vendor-font-family font used for vendor.
--ooo-wl-page-product-card-vendor-font-size font-size.
--ooo-wl-page-product-card-vendor-font-weight font-weight (e.g. bold, normal).
--ooo-wl-page-product-card-vendor-line-height line height of the text.
--ooo-wl-page-product-card-vendor-letter-spacing space between letters.
--ooo-wl-page-product-card-vendor-color text color.
--ooo-wl-page-product-card-vendor-background-color background color.
--ooo-wl-page-product-card-vendor-justify-self justify-self (e.g. start, end).
--ooo-wl-page-product-card-vendor-padding padding.
--ooo-wl-page-product-card-vendor-text-transform text transformation (uppercase, lowercase).

Product title

Variable Description
--ooo-wl-page-product-card-title-font-family font used for the product title.
--ooo-wl-page-product-card-title-font-size font-size.
--ooo-wl-page-product-card-title-font-weight font-weight (e.g. bold, normal).
--ooo-wl-page-product-card-title-line-height line height of the text.
--ooo-wl-page-product-card-title-letter-spacing space between letters.
--ooo-wl-page-product-card-title-color text color.
--ooo-wl-page-product-card-title-background-color background color.
--ooo-wl-page-product-card-title-justify-self justify-self (e.g. start, end).
--ooo-wl-page-product-card-title-padding padding.
--ooo-wl-page-product-card-title-text-transform text transformation (uppercase, lowercase).

Product price

Variable Description
--ooo-wl-page-product-card-price-display display used for price block.
--ooo-wl-page-product-card-price-font-family font used for the product price.
--ooo-wl-page-product-card-price-font-size font-size.
--ooo-wl-page-product-card-price-font-weight font-weight (e.g. bold, normal).
--ooo-wl-page-product-card-price-line-height line height of the text.
--ooo-wl-page-product-card-price-letter-spacing space between letters.
--ooo-wl-page-product-card-price-color text color.
--ooo-wl-page-product-card-price-background-color background color.
--ooo-wl-page-product-card-price-justify-self justify-self (e.g. start, end).
--ooo-wl-page-product-card-price-padding padding

Product compare at price

Variable Description
--ooo-wl-page-product-card-compare-at-price-font-family font used for the compare-at price.
--ooo-wl-page-product-card-compare-at-price-font-size font-size.
--ooo-wl-page-product-card-compare-at-price-font-weight font-weight (e.g. bold, normal).
--ooo-wl-page-product-card-compare-at-price-line-height line height of the text.
--ooo-wl-page-product-card-compare-at-price-letter-spacing space between letters.
--ooo-wl-page-product-card-compare-at-price-color text color.
--ooo-wl-page-product-card-compare-at-price-background-color background color.
--ooo-wl-page-product-card-compare-at-price-justify-self justify-self (e.g. start, end).
--ooo-wl-page-product-card-compare-at-price-padding padding.

Product unit price

Variable Description
--ooo-wl-page-product-card-unit-price-font-family font used for the unit price.
--ooo-wl-page-product-card-unit-price-font-size font-size.
--ooo-wl-page-product-card-unit-price-font-weight font-weight (e.g. bold, normal).
--ooo-wl-page-product-card-unit-price-line-height line height of the text.
--ooo-wl-page-product-card-unit-price-letter-spacing space between letters.
--ooo-wl-page-product-card-unit-price-color text color.
--ooo-wl-page-product-card-unit-price-background-color background color.
--ooo-wl-page-product-card-unit-price-justify-self justify-self (e.g. start, end).
--ooo-wl-page-product-card-unit-price-padding padding.

Product card select (form field)

These CSS variables allow you to customize the select dropdown of the product card:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-product-card-form-select-padding-inline horizontal padding inside the select.
--ooo-wl-page-product-card-form-select-padding-block vertical padding inside the select.
--ooo-wl-page-product-card-form-select-border-width border thickness of the select input.
--ooo-wl-page-product-card-form-select-border-color color of the border.
--ooo-wl-page-product-card-form-select-border-opacity opacity of the border.
--ooo-wl-page-product-card-form-select-border-radius rounded corners of the select field.
--ooo-wl-page-product-card-form-select-height height of the select field.
--ooo-wl-page-product-card-form-select-background background color of the select input.
--ooo-wl-page-product-card-form-select-color text color.
--ooo-wl-page-product-card-form-select-font-family font family used in the field.
--ooo-wl-page-product-card-form-select-font-size font size.
--ooo-wl-page-product-card-form-select-font-weight font weight (e.g. bold, normal).
--ooo-wl-page-product-card-form-select-text-align alignment of the text (left, center, right).
--ooo-wl-page-product-card-form-select-letter-spacing letter spacing inside the select.

Product card add to cart button

These CSS variables allow you to customize the add to cart button of the product card:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-product-card-form-button-padding internal padding of the button.
--ooo-wl-page-product-card-form-button-height total height of the button.
--ooo-wl-page-product-card-form-button-min-height minimum height for responsiveness.
--ooo-wl-page-product-card-form-button-border-width border thickness.
--ooo-wl-page-product-card-form-button-border-color border color.
--ooo-wl-page-product-card-form-button-border-opacity border opacity.
--ooo-wl-page-product-card-form-button-border-radius button corner radius.
--ooo-wl-page-product-card-form-button-margin-block top and bottom margin.
--ooo-wl-page-product-card-form-button-background background color of the button.
--ooo-wl-page-product-card-form-button-color text color.
--ooo-wl-page-product-card-form-button-font-family font used in the button.
--ooo-wl-page-product-card-form-button-font-size text size.
--ooo-wl-page-product-card-form-button-font-weight font weight (e.g. 500, 700).
--ooo-wl-page-product-card-form-button-text-align text alignment inside the button.
--ooo-wl-page-product-card-form-button-letter-spacing letter spacing in the button.
--ooo-wl-page-product-card-form-button-text-transform text transformation (uppercase, lowercase).
--ooo-wl-page-product-card-form-button-line-height line height of the text.
--ooo-wl-page-product-card-form-button-outline-border-color border color for “outline” style.
--ooo-wl-page-product-card-form-button-link-color text color for “link” style buttons.
--ooo-wl-page-product-card-form-button-disabled-color text color when disabled.
--ooo-wl-page-product-card-form-button-disabled-background background color when disabled.
--ooo-wl-page-product-card-form-button-disabled-opacity opacity when button is disabled.

Share wishlist button

These CSS variables allow you to customize the share wishlist button:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-copy-button-gap space between icon and text.
--ooo-wl-copy-button-padding internal spacing of the button.
--ooo-wl-copy-button-min-height minimum height of the button.
--ooo-wl-copy-button-border-width thickness of the button border.
--ooo-wl-copy-button-border-color border color.
--ooo-wl-copy-button-border-opacity opacity of the border.
--ooo-wl-copy-button-border-radius roundness of the corners.
--ooo-wl-copy-button-margin-inline left and right margin.
--ooo-wl-copy-button-background background color of the button.
--ooo-wl-copy-button-color text color.
--ooo-wl-copy-button-font-family font family used.
--ooo-wl-copy-button-font-size font size.
--ooo-wl-copy-button-font-weight font weight.
--ooo-wl-copy-button-letter-spacing space between letters.
--ooo-wl-copy-button-line-height height of a line of text.
--ooo-wl-copy-button-text-transform transform text to uppercase/lowercase/capitalize.

Pagination

These CSS variables allow you to customize the pagination:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-pagination-gap spacing between pagination elements.
--ooo-wl-page-pagination-padding internal spacing around the pagination container.
--ooo-wl-page-pagination-button-padding spacing inside the pagination buttons.
--ooo-wl-page-pagination-button-width width of the pagination buttons.
--ooo-wl-page-pagination-button-height height of the pagination buttons.
--ooo-wl-page-pagination-button-border-width thickness of the button border.
--ooo-wl-page-pagination-button-border-color border color.
--ooo-wl-page-pagination-button-border-opacity transparency of the border.
--ooo-wl-page-pagination-button-border-radius rounded corners of the button.
--ooo-wl-page-pagination-button-background background color of the button.
--ooo-wl-page-pagination-button-disabled-opacity opacity applied to disabled buttons.
--ooo-wl-page-pagination-button-icon-width width of the arrow icon.
--ooo-wl-page-pagination-button-icon-color color of the arrow icon.
--ooo-wl-page-pagination-button-icon-previous-transform transform applied to the previous button icon (used to rotate or customize the arrow direction).
--ooo-wl-page-pagination-button-icon-next-transform transform applied to the next button icon.
--ooo-wl-page-pagination-content-gap spacing between pagination text elements.
--ooo-wl-page-pagination-content-color color of the pagination text.
--ooo-wl-page-pagination-content-font-family font used for the pagination text.
--ooo-wl-page-pagination-content-font-size size of the pagination text.
--ooo-wl-page-pagination-content-font-weight weight of the pagination text.

Empty state wishlist

These CSS variables allow you to customize the empty state elements of the wishlist:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-empty-gap vertical spacing between elements.
--ooo-wl-page-empty-padding internal spacing of the empty state block.
--ooo-wl-page-empty-title-color color of the title.
--ooo-wl-page-empty-title-font-family font of the title.
--ooo-wl-page-empty-title-font-size title size.
--ooo-wl-page-empty-title-font-weight title weight (bold, etc.).
--ooo-wl-page-empty-title-line-height height of title lines.
--ooo-wl-page-empty-title-text-transform uppercase/lowercase/capitalization for title.
--ooo-wl-page-empty-description-color color of the description text.
--ooo-wl-page-empty-description-font-family font of the description.
--ooo-wl-page-empty-description-font-size size of the text.
--ooo-wl-page-empty-description-font-weight text weight.
--ooo-wl-page-empty-description-line-height line height for readability.
--ooo-wl-page-empty-button-padding spacing inside the CTA button.
--ooo-wl-page-empty-button-border-width thickness of the border.
--ooo-wl-page-empty-button-border-color border color.
--ooo-wl-page-empty-button-border-opacity transparency of the border.
--ooo-wl-page-empty-button-border-radius rounded corners of the button.
--ooo-wl-page-empty-button-width width of the button.
--ooo-wl-page-empty-button-min-height minimum height of the button.
--ooo-wl-page-empty-button-background background color.
--ooo-wl-page-empty-button-color color of the button text.
--ooo-wl-page-empty-button-font-family font used in the button.
--ooo-wl-page-empty-button-font-size size of the button text.
--ooo-wl-page-empty-button-font-weight weight of the text.
--ooo-wl-page-empty-button-line-height line height inside the button.
--ooo-wl-page-empty-button-text-transform uppercase/lowercase style.

Not accessible state wishlist

These CSS variables allow you to customize the not accessible state elements of the wishlist:

Screenshot in the Use CSS variable for customization guide

Variable Description
--ooo-wl-page-not-accessible-gap vertical spacing between elements.
--ooo-wl-page-not-accessible-padding internal spacing of the not accessible state block.
--ooo-wl-page-not-accessible-title-color color of the title.
--ooo-wl-page-not-accessible-title-font-family font of the title.
--ooo-wl-page-not-accessible-title-font-size title size.
--ooo-wl-page-not-accessible-title-font-weight title weight (bold, etc.).
--ooo-wl-page-not-accessible-title-line-height height of title lines.
--ooo-wl-page-not-accessible-title-text-transform uppercase/lowercase/capitalization for title.
--ooo-wl-page-not-accessible-description-color color of the description text.
--ooo-wl-page-not-accessible-description-font-family font of the description.
--ooo-wl-page-not-accessible-description-font-size size of the text.
--ooo-wl-page-not-accessible-description-font-weight text weight.
--ooo-wl-page-not-accessible-description-line-height line height for readability.
--ooo-wl-page-not-accessible-button-width width of the button container.
--ooo-wl-page-not-accessible-button-padding spacing inside the CTA button.
--ooo-wl-page-not-accessible-button-border-width thickness of the border.
--ooo-wl-page-not-accessible-button-border-color border color.
--ooo-wl-page-not-accessible-button-border-opacity transparency of the border.
--ooo-wl-page-not-accessible-button-border-radius rounded corners of the button.
--ooo-wl-page-not-accessible-button-min-height minimum height of the button.
--ooo-wl-page-not-accessible-button-background background color.
--ooo-wl-page-not-accessible-button-color color of the button text.
--ooo-wl-page-not-accessible-button-font-family font used in the button.
--ooo-wl-page-not-accessible-button-font-size size of the button text.
--ooo-wl-page-not-accessible-button-font-weight weight of the text.
--ooo-wl-page-not-accessible-button-line-height line height inside the button.
--ooo-wl-page-not-accessible-button-letter-spacing spacing between characters.
--ooo-wl-page-not-accessible-button-text-transform uppercase/lowercase style.