Skip to main content
TRUST Documentation

Vertical Content Slider

vertical-content-slider--documentation

Module Styles Tab Walkthrough

 

Spacing: Use these inputs to configure the top and bottom spacing of your section. This can be useful to increase or decrease the height of a section, reduce spacing between sections which share the same background color, or scale this spacing based on screen size when using certain types of backgrounds.

  • Top Padding (Desktop): None, Extra, Small, Small, Medium, Large, Extra Large, Custom
  • Top Padding (Laptop): Same as Desktop, None, Extra Small, Small, Medium, Large, Extra Large, Custom
  • Top Padding (Tablet): None, Extra Small, Small, Medium, Large, Extra Large, Custom
  • Top Padding (Mobile): Same as Tablet, None, Extra Small, Small, Medium, Large, Extra Large, Custom
  • Bottom Padding (Desktop): None, Extra, Small, Small, Medium, Large, Extra Large, Custom
  • Bottom Padding (Laptop): Same as Desktop, None, Extra Small, Small, Medium, Large, Extra Large, Custom
  • Bottom Padding (Tablet): None, Extra Small, Small, Medium, Large, Extra Large, Custom
  • Bottom Padding (Mobile): Same as Tablet, None, Extra Small, Small, Medium, Large, Extra Large, Custom

Text Color Override: These inputs override the color of any text which appears directly on your background. Use these to make all text use a light color when using a darker background to ensure the text is legible. NOTE: Elements other than text may be affected as well and some text may not necessarily be white.

  • White Text on All Screens: Boolean (check to enable)
  • White Text on Desktop: Boolean (check to enable)
  • White Text on Laptop: Boolean (check to enable)
  • White Text on Tablet: Boolean (check to enable)
  • White Text on Mobile: Boolean (check to enable)

Layout Controls: This group contains inputs which are unique to this section for controlling the overall layout or style. Depending on the section, some inputs outside of this section may change based on the configuration here.

  • Content Alignment (Mobile): Single Choice: Left-Aligned, Center-Aligned
  • Disable Scroll: Boolean (check to enable) - Checking this box will disable the scroll feature.

Module Settings Walkthrough

 

Preheader: Text Input

Header: Text Input

Content: Text Area

 

Column
  • Bullet List: Icon Style: Single Choice: No Icons, All the Same Image Icon, Different Image Icon for Each
  • Based on your selection for Bullet List Icon Style, the following inputs will show.  
    1. Option: No Icons
    2. Option: All the Same Image Icon
      • Enable Active State Icon: Boolean (check to enable)
      • Image Icons: Maximum Pixel Width: Number Slider
      • Image / Icon: Image
      • Active Image / Icon: Image - This controls show when Enable Active State Icon is checked.
      • Image / Icon Vertical Offset: Number Slider - Depending on the icon style and the content of your bullets, adjustment to the vertical positioning of the icon may be necessary to visually align them as needed. This input will offset the icon by the chosen value (which represents pixels).
    3. Option: Different Image Icon for Each
      • Enable Active State Icon: Boolean (check to enable)
      • Image Icons: Maximum Pixel Width: Number Slider
  • Bullet List: Repeatable Group
    • Image/ Icon: Image - This controls show when Bullet List: Icon Style: Different Image Icon for Each is selected.
    • Image / Icon Vertical Offset: Number Slider - This controls show when Bullet List: Icon Style: Different Image Icon for Each is selected. Depending on the icon style and the content of your bullets, adjustment to the vertical positioning of the icon may be necessary to visually align them as needed. This input will offset the icon by the chosen value (which represents pixels).
    • Active Image / Icon: Image - This controls show when Enable Active State Icon is checked.
    • Header/Label: Text Input
    • Description: Text Area

CTA(s): Repeatable Group

CTA: Type: Single Choice: No CTA, HubSpot Call-To-Action, Custom Link, Scroll to Section

Based on your selection for CTA: Type, the following inputs will show.

  1. Option: No CTA
  2. Option: HubSpot Call-To-Action
    • CTA: Button Color: Single Choice: Primary, Secondary, White
    • CTA: Ghost / Transparent Button: Boolean (check to enable) - Enable this to use a transparent “ghost” style for your button.
    • CTA: Select HubSpot CTA from the CTA Section of your portal
  3. Option: Custom Link
    • CTA: Button Color: Single Choice: Primary, Secondary, White
    • CTA: Ghost / Transparent Button: Boolean (check to enable) - Enable this to use a transparent “ghost” style for your button.
    • CTA: Button Text: Text Input
    • CTA: Hyperlink
      • Link to: External, Content, File, Email Address, Blog
      • URL: Input URL or Select Page
    • CTA: Open in a New Tab?: Boolean (check to enable)
    • CTA: Title Attribute - CTA title attribute gives additional information about the page being linked to. Leave this blank to use your button text.
  4. Option: Scroll to Section
    • CTA: Button Color: Single Choice: Primary, Secondary, White
    • CTA: Ghost / Transparent Button: Boolean (check to enable) - Enable this to use a transparent “ghost” style for your button.
    • CTA: Button Text: Text Input
    • CTA: Section Anchor ID: Text Input - Add the anchor ID of a section on this page to link to it. To link to a section on a different page, use the Custom Link option and add the section ID to the end of the URL preceded by a hashtag.
    • CTA: Title Attribute: Text Input - CTA title attribute gives additional information about the page being linked to. Leave this blank to use your button text.

FAQs

Help! My content isn't showing.

Development Notes

Reserved block class:

.section--verticalcontentslider

Resources:

modules/Vertical Content Slider/Vertical Content Slider.css

module js inside main module