Shophub DocsContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
    • Introduction
      • AnnouncementBanner
      • ButtonBlock
      • CustomBlock
      • FunnelBlock
      • GridWrapper
      • ImageBlock
      • ProductPreviewBlock
      • SmallFunnelWrapper
      • StatementRowBanner
      • TextBlock
      • UpsellBlock
      • VideoBlock
        • Alignment
        • Crossorigin
        • Fetch-Priority
        • FontTypeClassification
        • ItemTypename
        • OrderOption
        • PageType
        • Size
        • SortOption
        • TwAspectRatio
        • TwFontSize
        • TwFontWeight
        • Button Type
        • Referrer Policy
        • Timezones
      • Button
      • Display Link
      • Image
      • Background Image
      • Product
      • Text
        • NavTextContainer
      • Header
      • Footer
    • Relationships
    • Webpage Builder
    • Third party scripts
    • Cart
    • Product inventory tracking
    • Tax collections
    • Getting started
    • Constants
    • Shopify database sync
    • Database banner seeding
    • Connecting with Shopify
    • Bundled products
    • Shopify webhooks
    • Git hooks
    • Add a new banner
    • Make a banner nestable

On This Page

  • Example
Question? Give us feedback → (opens in a new tab)Edit this page
CMS
Objects
Enums
Alignment

Alignment

Enum to determine the alignment of something in a banner or structure.

enum AlignmentOption {
  Center = 'center',
  Left = 'left',
  Right = 'right',
}

Example


left

The quick brown fox jumps over the lazy dog.

right

The quick brown fox jumps over the lazy dog.

center

The quick brown fox jumps over the lazy dog.

VideoBlockCrossorigin

© 2024 | Shophub | Berlin