Skip to content

Text With Media Section

This content is for v1.0. Switch to the latest version for up-to-date documentation.

The Text With Media Section combines text and media (images, videos, galleries, sliders) in various layouts. It’s perfect for pages that need structured text-media combinations with flexible layout options for different content types.



Example of Text With Media Section
Example of Text With Media Section

  • Type: String
  • Required: No
  • Purpose: Main heading for the entire section
  • Example:
    Our Products or Our Services

  • Type: Text
  • Required: No
  • Purpose: Description for the entire section
  • Example:
    Discover our range of innovative solutions designed to meet your needs

  • Type: Array of textWithMediaItem objects
  • Required: Yes
  • Min Count: 1
  • Max Count: 10
  • Purpose: List of text-media items

Each text with media item contains:

  • Type: String
  • Required: No
  • Purpose: Main heading for this item
  • Example:
    Product Overview
  • Type: Rich Text Section (richTextSection)
  • Required: No
  • Purpose: Text content in rich text format
  • Note: Supports full formatting, images, links, etc.
  • Type: Object
  • Required: No
  • Purpose: Layout configuration for text and media
  • Type: String
  • Default Value: split
  • Purpose: Select the layout style for this item
  • Options:
    • Split Layout (split) – Text and media side by side
    • Media Above, Text Below (mediaAbove) – Media above, text below
    • Text Above, Media Below (textAbove) – Text above, media below
  • Type: String
  • Default Value: 50-50
  • Hidden: Yes (when Layout Type is not “Split Layout”)
  • Purpose: Split ratio for text and media (only for Split Layout)
  • Options:
    • 50/50 (Equal) (50-50) – Equal split between text and media
    • 60/40 (Text Wider) (60-40-text) – 60% text, 40% media
    • 60/40 (Image Wider) (60-40-image) – 60% media, 40% text
  • Type: String
  • Default Value: left
  • Hidden: Yes (when Layout Type is not “Split Layout”)
  • Purpose: Position of media relative to text (only for Split Layout)
  • Options:
    • Media Left, Text Right (left)
    • Media Right, Text Left (right)
  • Type: String
  • Default Value: image
  • Purpose: Choose which media should be displayed alongside the text
  • Options:
    • Single Image (image)
    • Image Gallery (imageGallery)
    • Video (video)
    • Image Slider (slider)

Fields are conditionally displayed based on the selected Media Type.

Overview of Text with Single Image
  • Type: Image
  • Required: No
  • Hidden: Yes (when Media Type is not “Single Image”)
  • Purpose: Single image with alt text and caption
  • Fields:
    • Image: Image with hotspot support
    • Alt Text: Alternative text for accessibility and SEO
    • Caption: Optional caption for the image
Overview of Text with Image Gallery
  • Type: Array of Images
  • Required: No
  • Hidden: Yes (when Media Type is not “Image Gallery”)
  • Min Count: 1
  • Max Count: 20
  • Purpose: Multiple images displayed as a gallery
  • Fields per Image:
    • Image: Gallery image with hotspot support
    • Alt Text: Alternative text for accessibility and SEO
    • Caption: Optional caption for the image
Overview of Text with Video
  • Type: Object
  • Required: No
  • Hidden: Yes (when Media Type is not “Video”)
  • Purpose: Video configuration for the text with media item
  • Fields:
    • Video File: Upload a video file (MP4, WebM, etc.) - accepts video/*
    • Video URL (Alternative): Direct video URL instead of uploading a file
    • Poster Image: Thumbnail image shown before video plays (with hotspot support)
  • Note: Either Video File or Video URL should be provided
Overview of Text with Image Slider
  • Type: Object
  • Required: No
  • Hidden: Yes (when Media Type is not “Image Slider”)
  • Purpose: Image slider configuration with slides, autoplay, and navigation
  • Fields:
    • Slides: Array of slide objects
      • Min Count: 1
      • Max Count: 10
      • Fields per Slide:
        • Slide Image: Image with hotspot support (required)
        • Alt Text: Alternative text for accessibility and SEO
    • Enable Autoplay: Boolean to enable automatic slide progression
      • Default Value: true
    • Autoplay Speed: Number of seconds between slides
      • Default Value: 5
      • Min Value: 1
      • Max Value: 30
      • Hidden: Yes (when Autoplay is disabled)
    • Show Navigation Dots: Boolean to show dot navigation
      • Default Value: true
  • Type: Reference to button schema
  • Required: No
  • Purpose: Button configuration for this item

  • Type: Reference (backgroundColor)
  • Required: No
  • Purpose: Sets the background color for the entire section

  • Headline: Our Products
  • Description: Discover our range of innovative solutions designed to meet your needs
  • Items:
    1. “Product Overview”
      • Content: “Our flagship product combines quality and innovation…”
      • Layout Type: Split Layout
      • Split Ratio: 50/50 (Equal)
      • Media Position: Media Left, Text Right
      • Media Type: Single Image
      • Image: Product image with alt text and caption
    2. “Product Gallery”
      • Content: “Explore our complete product range…”
      • Layout Type: Media Above, Text Below
      • Media Type: Image Gallery
      • Images: Array of 5 product images, each with alt text and captions
    3. “How It Works”
      • Content: “Watch this video to see how our solution works…”
      • Layout Type: Text Above, Media Below
      • Media Type: Video
      • Video File: Uploaded MP4 video file
      • Poster Image: Thumbnail image for the video
    4. “Features Showcase”
      • Content: “Learn about the key features that set us apart…”
      • Layout Type: Split Layout
      • Split Ratio: 60/40 (Text Wider)
      • Media Position: Media Right, Text Left
      • Media Type: Image Slider
      • Slides: 6 slides showcasing different features
      • Autoplay: Enabled
      • Autoplay Speed: 5 seconds
      • Show Navigation Dots: Enabled

  • 50/50 (Equal) Split: Equal division between text and media
  • 60/40 (Text Wider) Split: 60% text area, 40% media area
  • 60/40 (Image Wider) Split: 60% media area, 40% text area
  • Media Position: Positionable left or right

Media is displayed fully above the text. Ideal for:

  • Large, meaningful images
  • Videos that should grab attention
  • Galleries that should be prominently presented

Text is displayed above the media. Ideal for:

  • Text-heavy content
  • Explanations before visual elements
  • Step-by-step guides

  • Consistency: Use similar layout types within a section for better readability
  • Media selection: Choose the appropriate media type for the content
  • Alt text: Always fill in alt text for images for accessibility and SEO
  • Split ratio: 50/50 for balanced display, 60/40 (Text Wider) for text-heavy content, 60/40 (Image Wider) for image-heavy content
  • Item count: 3-5 items are optimal for user experience
  • Background color: Use background colors sparingly to ensure readability

  • Flexible layouts: Three different layout types for different requirements
  • Various media types: Single images, galleries, videos, or sliders
  • Rich text content: Full rich text editor for text content
  • Multiple items: Up to 10 items per section for comprehensive content
  • Individual configuration: Each item can be individually configured

  • Pages (page)
    General content pages, especially product and service pages

  • Each item can have different layout and media type
  • Layout options are nested in a layout object within each item
  • Media fields are conditionally displayed based on the selected layout.mediaType
  • Split ratio and media position fields are only visible when Layout Type is “Split Layout”
  • Rich text content uses the richTextSection type
  • Video supports both file upload (videoFile) and URL (videoUrl) options
  • Slider autoplay speed is only visible when autoplay is enabled
  • Image gallery supports 1-20 images, slider supports 1-10 slides
  • Background color references the global backgroundColor schema
  • The section supports responsive layouts for all media types

FeatureText With Media SectionRich Text SectionGallery Section
StructureFixed (Text + Media)FlexibleMedia only
Layout OptionsYes (3 types)NoNo
Media TypesYes (4 types)Images onlyImages only
Rich TextYes (per item)Yes (full)No
Multiple ItemsYes (1-10)NoNo
VideosYesNoNo
SliderYesNoNo
UsageStructured combinationsFlowing textImage galleries