Skip to main content

Custom code

The Custom code section is for advanced storefront adjustments that apply to TValue: Wishlist display features.

Open Display > Widgets > Custom code to add global custom CSS or JavaScript for the wishlist storefront experience.

Available options

Custom code includes two editors:

  • Custom CSS: use this for visual adjustments.
  • Custom JavaScript: use this for advanced storefront behavior.

Each editor supports up to 2000 characters.

When to use custom code

Use custom code when:

  • A theme needs a small visual override
  • A widget needs spacing or alignment that is not available in standard settings
  • A developer or theme partner is implementing a storefront-specific adjustment

Custom code vs custom placement CSS

This page controls global custom code for wishlist display features.

Custom placement rules can also include their own Custom CSS. Use rule-level CSS when the change only belongs to one specific custom placement rule.

Use global Custom code when the change should apply more broadly across the wishlist storefront experience.

Advanced setting

Custom code can affect storefront behavior. Test changes on the target theme after saving.