For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom CSS

For advanced styling beyond the built-in options, you can add your own CSS in Global settings → Custom CSS. The CSS is loaded on your storefront and applies to the OPTIS Color Swatch elements.

The Custom CSS editor in Global settings

How to add custom CSS

1

Open Global settings

Go to Global settings and find the Custom CSS section.

2

Write your CSS

Enter your CSS rules in the editor.

3

Save

Click Save. Refresh your storefront to see the result.

Targeting OPTIS elements

The app renders its variant picker inside a custom element. You can target it in your CSS, for example:

Most appearance changes (size, spacing, colors, borders, alignment) can be made without code on the Styling page. Use Custom CSS only for adjustments the Styling page does not cover.

If you are not sure how to target a specific element, reach out via live chat and our support team can help.

Last updated