Skip to main content
    TRUST Documentation

    Blog Feed Module

    blog-feed--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.

    • Header: Content Alignment: Single Choice: Left, Center 
    • Header: Content Alignment (Mobile): Single Choice: Left, Center 
    • Feed: Featured Image Aspect Ratio:  Single Choice: 1:1 (square), 2:1, 3:1, 3:2, 4:3, 16:9 
    • Feed: Layout: Single Choice: Grid Layout, Card Slider - Depending on the selection, some inputs outside of this section may change based on the configuration here.
    • Feed: Number of Columns (Desktop): Single Choice: 1, 2, 3, 4, 5, 6
    • Feed: Number of Columns (Laptop): Single Choice: 1, 2, 3, 4
    • Feed: Number of Columns (Tablet): Single Choice: 1, 2, 3, 4
    • Feed: Number of Columns (Mobile): Single Choice: 1, 2, 3, 4
    • Feed: Content Alignment: Single Choice: Left, Center 
    • Feed: Content Alignment (Mobile): Single Choice: Left, Center 

    Module Settings Walkthrough

    Preheader: Text Input

    Header: Text Input

    Content: Text Area

     

    Blog Feed Group
    • Blog Feed: Type: Single Choice: Recent Posts, Popular Posts, Recent Posts by Topic, Popular Posts by Topic, Recent Posts by Author
    • Based on your selection for Blog Feed: Type, the following inputs will show. 
      1. Option: Recent Posts
        • Blog: Select a Blog
        • Based on your selection for Feed: Layout: under Styles, the following inputs will show.
          • Blog: Post Count: Number Input - Use this field to specify how many posts you'd like to feed into the module.
      2. Option: Popular Posts
        • Blog: Select a Blog
        • Based on your selection for Feed: Layout: under Styles, the following inputs will show.
          • Blog: Post Count: Number Input - Use this field to specify how many posts you'd like to feed into the module.
      3. Option: Recent Posts by Topic
        • Blog: Select a Blog
        • Blog: Topic Name or Slug: Text Input
        • Based on your selection for Feed: Layout: under Styles, the following inputs will show.
          • Blog: Post Count: Number Input - Use this field to specify how many posts you'd like to feed into the module.
      4. Option: Popular Posts by Topic
        • Blog: Select a Blog
        • Blog: Topic Name or Slug: Text Input
        • Based on your selection for Feed: Layout: under Styles, the following inputs will show.
          • Blog: Post Count: Number Input - Use this field to specify how many posts you'd like to feed into the module.
      5. Option: Recent Posts by Author 
        • Blog: Select a Blog
        • Blog: Author Name or Slug: Text Input
        • Based on your selection for Feed: Layout: under Styles, the following inputs will show.
          • Blog: Post Count: Number Input - Use this field to specify how many posts you'd like to feed into the module.

     

    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--blogfeed

    Resources:

    modules/Blog Feed/Blog Feed.css

    module js inside main module