Skip to content

Widget Styling

Customize your widget's appearance to match your brand.

Color Customization

All styling is configured through the FeedValue dashboard when creating or editing a widget. The available color options are:

SettingDescriptionDefault
Primary ColorButton and accent color#6366f1
Background ColorWidget background#ffffff
Text ColorForm text and labels#1f2937
Button Text ColorSubmit button text#1f2937

INFO

Colors must be valid 6-digit hex values (e.g., #7c3aed). Configure these in your widget settings on the dashboard.

Feedback Widget Styling

Feedback widgets (modal forms) support additional styling options:

  • Border Radius: Controls the roundness of the widget corners
  • Custom CSS: Advanced CSS overrides (up to 10,000 characters)

Custom CSS

For advanced customization, target widget elements with CSS class names prefixed with .fv-widget-:

css
/* Trigger button */
.fv-widget-trigger {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modal form */
.fv-widget-form {
  font-family: 'Inter', sans-serif;
}

/* Submit button */
.fv-widget-submit {
  text-transform: uppercase;
}

WARNING

Custom CSS should be used sparingly. Breaking changes may occur in widget updates. Custom CSS is validated to prevent dangerous patterns (no javascript:, expression(), @import, or data: URLs).

Reaction Widget Styling

Reaction widgets (inline buttons) have their own styling options:

SettingDescriptionDefault
Primary ColorSelected button accent#6366f1
Background ColorButton background#ffffff
Text ColorLabel text#1f2937
Button Text ColorButton label text#1f2937
Border ColorButton border color#e5e7eb
Border WidthBorder thickness (0-4 px)2
Border RadiusButton shape: full, lg, md, sm, nonefull

Best Practices

  • Use colors that contrast well with your site background
  • Maintain accessible color contrast ratios (WCAG AA: 4.5:1 for text)
  • Test your widget styling on both desktop and mobile
  • Use lg button size for touch-friendly reaction widgets

Built with care by SarverEnterprises