Skip to content
Help Center
  • Pricing
  • ProductsExpand
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • SupportExpand
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Account
Get Kadence
Kadence Blocks
  • Features
  • Pro
  • Blocks
  • HelpExpand
    • Documentation
    • Submit a Ticket
    • Facebook Group
    • Feature Requests
    • Roadmap
    • Changelog
Help Center
Kadence Blocks

Kadence Blocks

  • Row Layout Block
  • Text (Adv) Block
  • Buttons (Adv) Block
  • Image (Adv) Block
  • Gallery (Adv) Block
  • Section Block
  • Testimonial Block
  • Table of Contents Block
  • Form Block
  • Form (Adv) Block
  • Table (Adv) Block
  • Accordion Block
  • Tabs Block
  • Info Box Block
  • Google Maps Block
  • Show More Block
  • Icon Block
  • Icon List Block
  • Progress Bar Block
  • Posts Block
  • Count Up Block
  • Countdown Block
  • Vector Graphic Block
  • Lottie Animations Block
  • Repeater Block
  • Spacer/Divider Block
  • The Kadence Header (Adv) Block
  • The Kadence Navigation (Adv) Block
  • The Kadence Navigation Link Block
  • Search (Adv) Block
  • Site Identity Block
  • Kadence Blocks Default Icon Selections

Getting Started

  • Installing Kadence Blocks
  • Getting Started with Kadence Performance
  • Kadence AI-Powered Design Library
  • Setting custom widths in multi-column Row Layout Blocks
  • How to define a color Palette with Kadence Blocks
  • How to delete/remove a Block
  • How to Duplicate and Copy/Paste Block Styles
  • Setting Block Defaults
  • Kadence Blocks Pexels Integration

Block Tutorials

  • How to Import and Export Blocks or Sections Between Websites
  • How to Use Flexbox Layouts with Section Blocks
  • How to Make a Top Section Sticky with Kadence Blocks
  • Using Padding and Margin in Kadence Blocks
  • Responsive Breakpoints in Kadence
  • Using GIFS and Lottie Animations with Kadence Blocks
  • Adding a Full-width Row
  • Modal Block Quick Start Guide
  • Image Overlay Quick Start Guide
  • How to hide Kadence blocks via WordPress Gutenberg Preferences
  • How To Add Animate on Scroll Effects To Your Page
  • How to add Custom CSS Classes and HTML IDs to Kadence Blocks
  • How to Show Events Using the Kadence Post Grid/Carousel Block
  • How to use Popup Modal Filters with Advanced Query Loops
  • Create a Full Screen Landing Page
  • Displaying Shortcodes in the WordPress Editor
  • Advanced Navigation Sub Menus and Mega Menus
  • Creating Sticky and Transparent Advanced Headers
  • Getting started with Advanced Header/Navigations
  • Building Headers and Footers in Full Site Editing with Kadence Blocks
  • Split Content Quick Start Guide
  • Applying Block-Level Custom CSS in Kadence Blocks
  • How to Access the Kadence Design Library
  • Adding Video Backgrounds to Row Layout
  • Pexels Picker
  • Adding Classic Wireframes, Starter Packs, and Sections to the New Design Library
  • How to customize the design library color palette
  • Adding Privacy Policy link to Kadence Form
  • Set Equal Column Heights with the Row Layout Block
  • How to Control the Hero or Title Section Sitewide and Per Page in Kadence
  • How to Change the Query Loop (Adv) “All” Button Text

Kadence Blocks Pro

  • Kadence Blocks Pro Plugin
  • Product Carousel Block
  • User Info Block
  • Portfolio Grid/Carousel Block
  • Query Loop (Adv) Block
  • Post Grid/Carousel Block
  • The Kadence Block Controls
  • Dynamic Content
  • Display Blocks Conditionally (Conditional Display)
  • Advanced Slider
  • Video Popup Block
  • Image Overlay Block
  • Split Content Block
  • Modal Block
  • Using a Dynamic List Block
  • Dynamic Content: Custom Input and Showing Fields from all Post Types
  • Dynamic HTML Block
  • Using Custom SVG Icons with Kadence Blocks Pro
  • Kadence Custom Fonts
  • Post Grid/Carousel Block – Configure a Blog List

Troubleshooting Blocks

  • Troubleshooting the “Error, Unable to access library database, please try re-syncing” error on the Kadence Blocks Design Library
  • Troubleshooting Query Loop (Adv) Blocks, Filters, and Search issues
  • Kadence Blocks Errors when SCRIPT_DEBUG is Enabled
  • Troubleshooting White/Blank Screens in the Editor or Customizer
  • How to Force Reindex Advanced Queries
  • How to Download Previous Versions of the Kadence Theme and Plugins
  • Resolving Autoplay Problems in Advanced Slider/Gallery Blocks
  • Recommended Server Resources
  • Troubleshooting Kadence Form (Adv) Email Delivery
  • How to Recover a Broken Block

Advanced

  • How to Modify SVG Dividers in Kadence Row Layout Blocks
  • How to Override the Kadence Forms Email Template
  • Prebuilt Layouts
  • How To Set Your Own Conditions for Successful Form (Adv) Submissions
  • How to Block Form (Adv) Spam Using WordPress Disallowed Comment Keys
  • Custom Queries for the Portfolio Grid/Carousel Block (Filter)
  • Customizing the Kadence Blocks Pro Post Grid/Carousel block’s Query to show multiple post types
  • Custom Queries for the Posts Block (Filter)
  • How to Set a Gradient Border for the Section block
  • Run JavaScript when Query Loop (Adv) Updates
  • Custom Upload Directory in Kadence Form (Adv) Block
  • Populate Select, Checkbox, and Radio field option values programmatically in Form (Adv)
  • Query Loop (Adv) Block: Split Character Filter
  • How to add Multiple Markers in the Kadence Google Maps Block
  • Custom Queries for the Post Grid/Carousel Block (Filter)
  • How to Run JavaScript After a Kadence Form is Successfully Submitted (On Event)
  • Dynamically Displaying ACF or Metabox Relationships in Query Loop (Adv) blocks
  • How to Customize the Kadence Blocks Variable Font Sizes (SM, MD, LG, XL, 2XL, and 3XL)
  • Using Tooltips with Kadence Blocks
  • Custom Queries for the Advanced Query Loop Block (Filter)
  • Adding a Custom Font to Kadence Blocks

Advanced Headers

  • How to use Advanced Headers Globally and Conditionally in Kadence
  • The Kadence Header (Adv) Block
  • Using Advanced Header / Navigation Blocks vs Kadence Theme Header Builder
  • Advanced Header Best Practices
  • Getting the most out of Navigation Link Blocks
  • Creating Sticky and Transparent Advanced Headers
  • Advanced Navigation Sub Menus and Mega Menus
  • The Kadence Navigation Builder
  • The Kadence Visual Builder & Off Canvas Settings
  • Importing & Exporting Advanced Headers & Navigations

Kadence Form Integrations

  • How to Modify the Form (Adv) Submit Actions using a Filter
  • How to integrate hCaptcha with Kadence Form (Adv) Blocks
  • How to Integrate Kadence Forms with Cloudflare Turnstile
  • How to Integrate Google reCAPTCHA with Kadence Forms
  • How to Integrate Google Analytics with Kadence Forms
  • Integrating Kadence Forms with FluentCRM
  • Integrating Kadence Forms with Kit (ConvertKit)
  • Kadence Forms and Database Entries
  • Kadence Forms and Auto Respond Emails
  • Integrating Kadence Forms with Webhooks
  • Integrating Kadence Forms with Mailchimp
  • Integrating Kadence Forms with Brevo
  • Integrating Kadence Forms with ActiveCampaign
  • Integrating Kadence Forms with Mailerlite
  • Home
  • Knowledge Base
  • Kadence Blocks
  • Kadence Blocks
  • Block Tutorials

How to Use Flexbox Layouts with Section Blocks

The Section Block in Kadence Blocks includes Flexbox controls by default. These controls make it possible to build layouts where each piece of content behaves independently. This is especially helpful for cards, columns, or expandable content that should not affect nearby items.

Section Block using Flexbox sizes itself based on its own content. This allows more flexibility with alignment, spacing, and wrapping, both initially and responsively, across all device types.

Section Flex Demo

This guide explains:

  • When to use Flexbox in the Section Block instead of a Row Layout.
  • How the Section Block Flex settings work.
  • Key differences between Row Layout and Section Flex behavior.
Table of Contents
  • Before You Begin
  • When to Use Section Block Flexbox
  • Understanding Section Block Flex Settings
    • Flex Direction
    • Alignment
    • Vertical Alignment
    • Gaps
  • Advanced Flex Options for Horizontal Layouts
    • 1. Wrap Content
    • 2. Flex Basis
    • 3. Flex Grow
  • Section Block vs Row Layout Block
    • Row Layout Block
    • Section Block with Flexbox

Before You Begin

Before using Flexbox layouts in the Section Block, confirm the following:

  • Kadence Blocks is installed and active on the website.
  • A Section Block is added to the page.

Flexbox controls are available on the Section Block by default under the Block Settings. The layout behavior changes based on the Flex settings that are applied.

When to Use Section Block Flexbox

Flexbox in the Section Block is a good choice when:

  • Columns should behave independently.
  • The content of neighboring content should not affect nearby items.
  • Card layouts include dynamic or expandable content.
  • Layouts need precise control over alignment, spacing, or wrapping.

Understanding Section Block Flex Settings

Flex settings control how child blocks inside a Section Block are arranged. These options are available in the Section Block settings panel and can be adjusted at any time.

Flex Direction

Flex Direction determines how child blocks are laid out.

Available options:

  • Vertical. Items stack from top to bottom. This is the default.
  • Horizontal. Items sit side by side.
  • Vertical Reverse. Items stack from bottom to top.
  • Horizontal Reverse. Items align side by side in reverse order.
Flex Basis

Tip: The horizontal direction is most commonly used for card layouts and columns.

Alignment

This setting controls how items are aligned horizontally within the Section width.

Options include:

  • Start – Align items to the left side of the Section.
  • Center – Center items horizontally within the Section.
  • End – Align items to the right side of the Section.
  • Stretch – Stretch items to fill the available horizontal space (when supported).
Flex Alignment

Vertical Alignment

This setting controls how items are aligned vertically within the Section height.

Options include:

  • Top – Align items to the top of the Section.
  • Middle – Center items vertically within the Section.
  • Bottom – Align items to the bottom of the Section.
  • Space Between – Place the first and last items at the top and bottom, with space distributed between items.
  • Space Around – Distribute items with space above and below each item.
  • Space Evenly – Distribute items so the spacing between items and the Section edges is equal.

The Vertical Alignment changes based on the Flex Direction. For horizontal layouts, this setting controls left-to-right spacing.

Vertical Alignment

Gaps

Gaps control spacing between child blocks and replace the need for margins. You can use a Vertical and/or Horizontal Gap.

Available gap options:

  • Vertical Gap. Available for vertical layouts
  • Horizontal Gap. Appears when Flex Direction is set to Horizontal or Horizontal Reverse
Section Gaps

Tip: Using gaps instead of margins keeps spacing consistent and responsive across screen sizes.

Advanced Flex Options for Horizontal Layouts

Additional options appear when Flex Direction is set to Horizontal or Horizontal Reverse.

1. Wrap Content

Wrap Content controls how items behave when there is not enough horizontal space available.

Options include:

  • Inherit – Go off of the default behavior.
  • No Wrap – Do not allow items to wrap.
  • Wrap – Allow items to wrap.
  • Wrap Reverse – Allow items to wrap, and when wrapping occurs, reverse the order.

This setting is especially helpful for responsive card grids that adjust naturally on smaller screens.

Wrap Content

2. Flex Basis

Flex Basis defines the starting width of each child block before Flexbox adjusts the layout.

Common uses include:

  • Equal-width cards
  • Controlled column sizing
  • Responsive layouts that adjust by screen size

Example:

  • Setting Flex Basis to 50% creates two equal-width columns.
  • Setting a Flex Basis of 250px will make each section use a 250px width. If there isn’t enough width available, the content will wrap depending on the wrap block setting.
Flex Basis

3. Flex Grow

Use the Flex Grow setting to control how a Section expands to fill available space within a flex layout.

The Flex Grow Block setting can be found at:
Section Block Settings → Advanced Tab → Structure Settings

Flex Grow works best when multiple Sections are placed inside a parent Section. It determines how the remaining space is distributed between sibling Sections.

For example:

  • A Section with Flex Grow: 1 will take up an equal share of available space.
  • A Section with Flex Grow: 2 will take up twice as much space as a Section with Flex Grow set to 1.
  • A Section with Flex Grow: 0 will not grow beyond its base size.
Flex Grow

Flex Grow is especially useful for creating flexible, responsive layouts where Sections need to adapt dynamically to the available width or height.

Section Block vs Row Layout Block

The Row Layout Block already uses Section Blocks internally. In many cases, you can use a Row Layout Block on its own to achieve most layouts. However, Section Blocks are more versatile and can also be used independently or in combination with Row Layout Blocks to provide greater control over complex designs.

Row Layout Block

  • Grid-based rows and columns.
  • All columns in a row share the same height.
  • Expanding content affects the entire row.
  • Offers using the Theme Content Max Width for limiting the content width.
  • Best for structured, symmetrical layouts.

Section Block with Flexbox

  • Content-driven sizing
  • Columns behave independently
  • Flexible alignment and spacing
  • Ideal for dynamic or expandable content
Do you feel this document was helpful?
How to Import and Export Blocks or Sections Between WebsitesHow to Make a Top Section Sticky with Kadence Blocks
The Kadence WP Logo
Crafted in Missoula, Montana
  • Follow Kadence on Facebook
  • Follow Kadence on Youtube
  • X
  • Follow Kadence on Instagram
Trustpilot
Products
  • Kadence Plans
  • Kadence Theme
  • Kadence Blocks
  • Kadence AI
  • Kadence Starter Templates
  • Kadence Shop Kit
  • Kadence Conversions
  • Kadence Pattern Hub
  • View All
Resources
  • Blog
  • Podcast
  • Knowledgebase
  • Support ticket
  • Feature Requests
  • FAQ
  • WordPress Hosting Services
About Us
  • About Kadence
  • Become an affiliate
  • Contact us
  • Terms
  • Privacy Policy
  • Security
Our Partner Brands
  • SolidWP
  • LearnDash
  • The Events Calendar
  • GiveWP
  • MemberDash
Kadence Community
  • Kadence Marketplace
  • Join the Facebook Group
  • Subscribe to our YouTube Channel
© 2024 Kadence WP | All prices are in USD
Logo for StellarWP an umbrella brand of Premium WordPress plugins
  • Pricing
  • Products
    • Premium PlansGet all the tools you need in one plan
    • Kadence ThemeLightning-fast performance theme for modern websites
    • Kadence BlocksDrop in ready designs with advanced controls for pixel perfect websites
    • Kadence Shop KitCreate a more effective WooCommerce shopping experience
    • Kadence ConversionsBoost sales and build engaged audiences with popups and banners
    • Kadence InsightsEasily create A/B tests. Optimize your pages to drive higher conversions.
    • View All Products
    • Get Kadence + Hosting
      In One Place

      Enjoy faster setup, top-tier performance, and worry-free WordPress hosting – Kadence Theme, Kadence Blocks, and Solid Security all pre-installed.

      Learn More

  • Kadence AI
  • Starter Templates
  • Blog
  • Support
    • Resource HubStart here for guides, Product docs, FAQs, and Troubleshooting tips, all in one place.
    • Contact SupportStuck on something? We’re here to help! Open a ticket for top-notch support.
    • Contact Our TeamGot pre-sales questions or need help choosing a plan? Open a ticket and our team will guide you.
    • About usCrafted with love in Missoula, Montana. Meet the team behind the mission.
Account Login
  • Features
  • Pro
  • Blocks
  • HelpExpand
    • Documentation
    • Submit a Ticket
    • Facebook Group
    • Feature Requests
    • Roadmap
    • Changelog