ModulesBling

SR Modal

This module renders a hidden popup dialog containing an image, a heading, rich text description, one CTA button, and an optional embedded HubSpot form with its own heading and description.

Preview of SR Modal

Pick it over the bling, clients, and card modules when the content must stay hidden until a user clicks a trigger elsewhere on the page, such as a lead capture form or a detail panel, rather than being shown inline. It needs another element like SR Element Button set to the same modal_target to open it, and if the form is enabled it needs a connected HubSpot form.

Use cases

  • Gated content popup
  • Lead capture form modal
  • Free trial signup dialog
  • Product detail popup
  • Newsletter signup overlay
  • Demo request popup

Where it fits

  • Included with: Free
  • Page sections: Form, Cta, Not a page section

Editable fields

Content tab

FieldTypeNotes
Modal TargetText
ImageImage
DescriptionRich text
Lead TextBooleanTurn on to make the Description text larger.

Heading Repeats: min 0, default 1.

FieldTypeNotes
HeadingText
SizeChoiceHTML heading size. Options: H1, H2, H3, H4, H5, H6, P.
Display SizeChoiceSize that heading is displayed at. 12 options, including Auto, H1, H2.
ColorChoice15 options, including Auto, Primary, Secondary.
ColorColor
AlignChoiceOptions: Auto, Left, Center, Right.
CSS ClassText

CTA Repeats: min 0, default 1.

FieldTypeNotes
CTA TypeChoiceOptions: HubSpot CTA, HubSpot Payment, Button, Modal.
CTA StyleChoice26 options, including Primary, Secondary, Tertiary.
CTACTA
Button TextText
Modal TargetText
LinkLink
Payment linkPayment
Checkout behaviorChoiceOptions: Open in a new tab, Sliding overlay.
CTA SizeChoiceOptions: Small, Default, Large.
Add iconBoolean

CTA › Default

FieldTypeNotes
BackgroundColor
TextColor
BorderColor

CTA › Hover

FieldTypeNotes
BackgroundColor
TextColor
Border ColorColor

CTA › Icon

FieldTypeNotes
IconIcon
PositionChoiceOptions: Left, Right.
PurposeChoiceThe purpose of the icon, used for accessibility. If set to decorative, an additional attribute of aria-hidden="true" will be added to the icon. Options: Decorative, Semantic.

Form

FieldTypeNotes
EnabledBoolean
Lazy LoadBooleanTo use this feature, you must have either Marketing Hub or Content Hub Professional or Enterprise, and you need to enable the "Set as raw HTML" option in the form settings.
Form HeightNumberUsed to set a minimum height for the form, this prevents layout shifts when the form loads.
DescriptionRich text
Lead TextBooleanTurn on to make the Description text larger.
FormForm
Send form notifications to specified email addresses instead of the form defaultsBoolean
Email AddressesEmail
Salesforce campaignSalesforcecampaign

Form › Styles

FieldTypeNotes
Background ColorColor
Text ColorChoiceSet to Auto to use the default text color. Set to Custom to set a custom text color. 15 options, including Auto, Primary, Secondary.
Text ColorColor
Hide Field LabelsBoolean

Form › Styles › Fields

FieldTypeNotes
StyleChoiceOptions: Default, Custom.
HeightNumber
Background ColorColor
Border ColorColor
SizeNumber
RadiusNumber
FocusColor
Field ColorColor
PlaceholderColor

Form › Styles › Button

FieldTypeNotes
StyleChoice26 options, including Primary, Secondary, Tertiary.
SizeChoiceOptions: Small, Default, Large.
AlignChoiceOptions: Auto, Left, Center, Right.
Full WidthBoolean

Form › Styles › Button › Default

FieldTypeNotes
BackgroundColor
TextColor
BorderColor

Form › Styles › Button › Hover

FieldTypeNotes
BackgroundColor
TextColor
Border ColorColor

Form › Styles › Padding

FieldTypeNotes
TopNumber
BottomNumber
LeftNumber
RightNumber

Form › Styles › Border

FieldTypeNotes
StyleChoiceOptions: Gradient One, Gradient Two, None, Solid, Dotted, Dashed, Double.
ColorColor
WidthNumber
RadiusNumber
TopBoolean
BottomBoolean
LeftBoolean
RightBoolean

Form › Heading Repeats: min 0, default 1.

FieldTypeNotes
HeadingText
Heading SizeChoiceHTML heading size. Options: H1, H2, H3, H4, H5, H6, P.
Heading Display SizeChoiceSize that heading is displayed at. 12 options, including Auto, H1, H2.
Heading ColorChoice15 options, including Auto, Primary, Secondary.
Heading ColorColor
Heading AlignChoiceOptions: Auto, Left, Center, Right.
CSS ClassText

Style tab

Change log

VersionChange
4.0.0Stardust update
3.2.2Added ability to set custom button styles
3.2.1Added ability to use new HS form
3.2.0Added responsive background options
3.1.0Introduced a lazy loading feature for forms
3.0.1Added new Link options
3.0.0Removed jQuery
2.0.2Closing Modal now stops embedded video
2.0.1Modal form fixes