Shared discount
Overview
A dynamic content block that displays shared discount messages. This block provides customizable text styling, layout options, and responsive visibility controls.
Common use cases
Use max-width setting for better readability of error messages
Consider text color contrast when customizing the appearance
Test error messages in both mobile and desktop views when using visibility options
Display discount codes shared by customers or promotional messages
Block settings
Spacing
Enable horizontal padding
Adds horizontal padding around the content
Checkbox (default: false)
Enable top padding
Adds top padding around the content
Checkbox (default: false)
Enable bottom padding
Adds bottom padding around the content
Checkbox (default: false)
Color
Text color
Controls the text color
• Default (default) • Alternative • Primary background • Primary foreground • Secondary background • Secondary foreground • Tertiary background • Tertiary foreground • Neutral background • Neutral foreground • Shade • Error • Success
Style
Font family
Controls the font family used for the text
• Standard • Heading • Subheading • Accent Visible when font size contains 'type--'
Font size
Controls the font size of the text
• Smaller • Small • Default (default) • Big • Bigger • Heading 1 • Heading 2 • Heading 3 • Heading 4 • Heading 5 • Heading 6
Layout
Horizontal alignment
Controls horizontal text alignment
• Left (default) • Center • Justify • Right
Enable max width
Limits the maximum width of the text content
Checkbox (default: true)
Display
Visibility
Controls when the block is visible
• All (default) • Mobile only • Desktop only
Last updated
Was this helpful?