Drupal Radix Theme
  • Introduction
    • Overview & Support
  • Installation
    • Requirements
    • Getting Started
    • Setup with ddev
  • Understanding Radix
    • Individual files and directories
    • Bootstrap Build
    • Bootswatch
  • Working with the components
    • Components: Intro
    • Components: A deep dive
    • An example component
    • The drupal-radix-cli
    • Copy and modify a component
  • Components
    • Accordion
    • Alerts
    • Badge
    • Block
    • Buttons
    • Button Group
    • Breadcrumb
    • Card
    • Carousel
    • Close button
    • Comment
    • Collapse
    • Details
    • Dropdown menu
    • Field
    • Field Comment
    • Fieldset
    • Figure
    • Form
    • Form: Element
    • Form Element Label
    • Form Element: Radio Checkbox
    • Heading
    • HTML
    • Image
    • Input
    • List group
    • Local Tasks
    • Media
    • Modal
    • Nav
    • Nav Item
    • Navbar
    • Navbar Brand
    • Node
    • Offcanvas
    • Page
    • Page: Content
    • Page: Footer
    • Page: Navigation
    • Page: Title
    • Pagination
    • Progress
    • Radios
    • Region
    • Select
    • Spinners
    • Table
    • Taxonomy
    • Textarea
    • Toasts
    • Tooltips
    • User
    • Views: view
    • Views: view--grid
    • Views: view--table
    • Views: view--unformatted
  • Misc
    • Migration and upgrading
    • Roadmap
    • Credits & Contributions
Powered by GitBook
On this page
  • Key Features
  • Customization Options
  • Usage

Was this helpful?

  1. Components

Page: Content

This template is tailored for the content section of a web page, designed to provide a structured and customizable layout for displaying main content.

Key Features

  • Content Area Styling: Includes pre-set and customizable classes to style the main content area.

  • Header and Content Blocks: Features dedicated blocks for page headers and content, allowing for easy customization and content management.

  • Utility Class Support: Supports the integration of utility classes for additional styling flexibility.

Customization Options

  • Main Content Classes: Customize the styling of the main content area with CSS classes and utility classes.

  • Modular Content Blocks: Utilize blocks for headers and inner content, offering flexibility in designing and structuring the content layout.

Usage

{% include 'radix:page-content' with {
  content_attributes: content_attributes.setAttribute('class', ['custom-class']),
  page_main_utility_classes: ['utility-class'],
  page_header_container_type: false,
  page_header_container_utility_classes: ['my-5'],
  page_content_container_type: 'xxl',
} %}
PreviousPageNextPage: Footer

Last updated 1 year ago

Was this helpful?