Skip to main content
The Custom CSS settings allow you to add custom CSS code to style your bundle widgets beyond the built-in color and label options. This gives you complete control over the appearance and behavior of bundle elements.

Accessing Custom CSS settings

  1. Open the Product Bundles app
  2. Click Settings in the left navigation
  3. Select the Custom CSS tab

CSS editor

The Custom CSS page provides a code editor where you can write CSS:
  • Syntax highlighting: Makes code easier to read
  • Line numbers: Helps track your code
  • Auto-completion: Suggests CSS properties
  • Preview: See changes before applying

Available CSS selectors

Target specific bundle elements using these classes:

Widget container

Bundle title

Product list

Pricing

Button

Cart banner

Example customizations

Rounded modern style

Minimal clean design

Vibrant bold style

Animation and interactions

Mobile-optimized

Best practices

Begin with small changes and test before adding complex styles. Build up gradually.
Target bundle elements specifically (e.g., .trust-bundle-button) rather than generic selectors that might affect your entire site.
Check your custom CSS in Chrome, Safari, Firefox, and Edge. Some CSS properties behave differently across browsers.
Always include mobile-specific styles. More than 50% of shoppers use mobile devices.
Avoid complex animations or excessive CSS that could slow page load times.
Add comments to explain what each section does for easier future maintenance.

CSS tips and tricks

Use CSS variables for consistency

Improve accessibility

Smooth transitions

Saving and applying CSS

1

Write your CSS

Add your custom CSS in the editor
2

Preview (optional)

Use the preview feature to see changes before saving
3

Save

Click Save to apply your custom CSS
4

Test

Visit your store and check the widgets on product and cart pages
Changes apply immediately to all bundle widgets across your store.

Troubleshooting

CSS not applying:
  • Check for syntax errors (missing semicolons, brackets, etc.)
  • Verify class names are correct
  • Clear browser cache and check in incognito mode
  • Check browser console for CSS errors
Styles being overridden:
  • Your theme CSS might have higher specificity
  • Try more specific selectors or use !important sparingly
  • Inspect elements with browser developer tools to see which styles apply
Mobile layout broken:
  • Add @media queries for responsive design
  • Test on actual mobile devices
  • Check for fixed widths that don’t scale
Performance issues:
  • Remove complex animations
  • Optimize heavy styles
  • Use simple CSS properties

Getting help with CSS

If you need help with custom CSS:
  • Browser DevTools: Use Chrome/Firefox DevTools to inspect elements and test styles live
  • CSS documentation: Reference MDN Web Docs for CSS properties
  • Support: Contact support@getappfox.com for assistance
Before adding custom CSS, explore the built-in color and label customization options. They’re easier to maintain and work well for most needs. Use custom CSS only when you need styling beyond those options.