Skip to main content
Documentation menu

Apps

Virtual Try-On

Custom CSS

For anything Styles and Advanced styling can't reach, add your own CSS. It's loaded on your product and collection pages wherever swatches appear.

Important

Custom CSS is for people comfortable with CSS. If you're not, click Message us under the editor, describe the look you want, and we'll help you style it.

Add CSS

  1. 1

    Open Settings

    Go to Settings and scroll to Custom CSS.

  2. 2

    Write your CSS

    Type or paste your CSS into the editor. Leave it empty to use the default styling.

    The Custom CSS editor
    The Custom CSS editor
  3. 3

    Save

    Click Save in the save bar, then refresh a product page on your store.

Class names

ClassElement
.vensa-swatchesThe whole picker on a product page
.vensa-optionOne option, such as Color
.vensa-option__labelThe label line above an option
.vensa-swatchA colour, image or photo swatch
.vensa-pillA Swatch in pill value
.vensa-btnA button value
.vensa-polaroidA polaroid value
.vensa-tipThe hover tooltip
.vensa-badgeA badge
.vensa-priceA price shown on a value
.vensa-stockThe low-stock message
.vensa-col-rowThe swatch row on a product card
.vensa-group-optionA product group row

Values also carry state classes: .is-selected on the chosen value, .is-oos on sold-out values and .is-unavailable on combinations that don't exist.

Examples

/* Uppercase option labels with a little spacing */
.vensa-option__label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Make the low-stock message bold */
.vensa-stock {
  font-weight: 600;
}

/* Square badge corners */
.vensa-badge {
  border-radius: 3px;
}

Tip

Sizes, colours, borders and spacing are easier to change in Advanced styling, and they stay correct when the app is updated. Save Custom CSS for things Advanced doesn't offer.

Need help?

Open the app and click Chat with us on the Dashboard for free setup assistance, or contact us with your store address and what you are stuck on.