Advanced/custom CSS targeting outside the documented classes is not supported. Use only the options and classes listed here for reliable results.
theme.font (Google Fonts) and theme.css overrides on supported .ps-* classes.
Theme configuration
Supported CSS classes
| Class | What it controls |
|---|---|
.ps-widget | Widget root container |
.ps-container | Main widget container |
.ps-field-block | Each form field wrapper |
.ps-field-label | Field label text |
.ps-field-input | Input fields |
.ps-field-select | Dropdown/select fields |
.ps-submit | Submit (payment) button |
.ps-submit-disabled | Disabled submit button |
.ps-submit-success | Success state for submit button |
.ps-error | General error messages |
.ps-field-error | Field-level error indicator |
.ps-field-error-message | Field-level error message text |
.ps-divider | Divider lines between sections |
.ps-divider-label | Divider label text |
Only the classes above are guaranteed to be supported. Avoid targeting internal widget markup or using unsupported selectors.
Example: Customizing colors and fonts
Example: Customizing colors and fonts
Best practices
- Use CSS variables for colors and spacing when overriding multiple elements.
- Keep overrides minimal for easier upgrades and troubleshooting.
- Test on both desktop and mobile viewports.
Accessibility
- Maintain sufficient color contrast on
.ps-submitand error states. - Do not hide required field labels — customize color/size instead.
Live demo
Try theme presets in the sandbox playground: https://payment.paysight.io/demo?preset=themingRelated
Configuration reference
theme field detailsTheming live demo
Interactive theme.css presets and button copy.
Custom styling example
Full styling example