Change swatch sizes in our apps settings
To topYou can change the sizes of the swatches in the Settings page.
- Click on Settings in the navigation of our app
- Edit the Settings below
Here are examples of different swatch sizes
Custom swatch size with code
To topBelow are some CSS snippets that you can add to your theme.liquid file. Click the link below for more information.
<style>
/* change image swatch size */
#bcpo .bcpo-images div.bcpo-image-parent {
width: 150px !important;
}
#bcpo label.bcpo-front-image-label,
#bcpo input.bcpo-front-image-label {
height: 144px !important;
}
</style>
<style>
/* change color swatch size */
#bcpo .bcpo-colors div.bcpo-color-parent {
width: 150px !important;
}
#bcpo label.bcpo-front-color-label,
#bcpo input.bcpo-front-color-label {
height: 144px !important;
}
</style>
If you are using circle swatches or want square dimensions make sure the height is 6px less than the width to make the circles perfect.
To customize the swatch style more read this article