Gantry 5
  • 1. Basics
    • Introduction
    • Key Features
    • System Requirements
    • Getting Started
    • Installation
    • License & Usage
    • Updating
    • Updating Themes
    • Uninstallation
    • Terminology
    • Changelog
    • External Resources
  • 2. Configuration
    • Gantry Admin
    • Styles
    • Particle Defaults
    • Page Settings
    • Layout Manager
    • Assignments
    • Menu Editor
    • Outlines
    • Extras
    • Content (WordPress)
    • Custom Page (Joomla)
    • Positions (Grav)
    • Inheritance Guide
  • 3. Particles
    • Introduction to Particles
    • Logo
    • Menu
    • To Top
    • Social
    • Positions
    • Spacer
    • Mobile Menu
    • Custom HTML
    • Module Instance or Widget
    • Page Content
    • System Messages
  • 4. Tutorials
    • Overriding Particle Settings
    • Adding a Custom Style Sheet
    • Adding and Using Fonts
    • Customizing the Error Page
    • Using the Font Picker
    • Using the Color Picker
    • Using the Icon Picker
    • Using Block Settings
    • Using Media Queries
    • Particle Blocks
    • Creating a Multilingual Site (Joomla)
    • Creating a Multilingual Site (Grav)
    • Creating a Multilingual Site (WordPress)
    • Utility Classes
    • Copying Particles to Another Theme
    • Moving Custom Settings Between Themes
    • Using Particle Collections
    • Using the Multicheckbox field
  • 5. Advanced
    • Creating a New Particle
    • Particle YAML Field Types
    • Customizing Theme Files
    • Creating Layout Presets
    • Creating Style Presets
    • Creating Custom File Overrides
    • Adding New PHP Functions
    • How to Load CSS / SCSS / JS / HTML from Twig
    • Twig Filters and Functions
    • Using CMS Content in Particles
    • Custom Responsive Grids in Content
    • Code-based Outline Assignments
    • Adding Font to Font Picker
  • 6. Troubleshooting
    • Internal Server Error
    • Maximum function nesting level
    • Permission Denied (WordPress)
    • Assignments Not Appearing on Front End
    • Flex Elements are Larger than Expected
    • WordPress Page Comments Not Displaying
  • 7. Theme Development
    • Changing the Name of a Theme
    • How to Create a Child Theme (Grav)
    • How to Create a Child Theme (WordPress)
  • 8. Frequently Asked Questions
    • Asset Timestamps
    • RTL Support
    • Default Outlines in Joomla
    • Hooking into Joomla Events
Gantry 4
  • 1. Basics
    • Key Features
    • Gantry Core Concepts
    • System Requirements
    • Installation
    • License & Usage
    • Upgrading
    • Uninstallation
  • 2. Configuration
    • Template Overrides
    • Presets
    • Style
    • Features (Joomla)
    • Gizmos (WordPress)
    • Layouts
    • Advanced
  • 3. Customization
    • Adding Module Positions
    • Moving Module Positions
    • Custom Module Layout
    • Custom Module Chrome
    • Custom Presets
    • Using Force Positions
  • 4. Advanced
    • Creating New Layout
    • Creating a New Feature (Joomla)
    • Creating a New Gizmo (WordPress)
    • Built-In Ajax System
    • Per-Browser Specific Control
    • Parameter Chaining
    • Session/Cookie/URL
    • RTL Support and Limitations
    • Responsive Grid System
    • LESS CSS
  • 5. Tutorials
    • Overriding a Feature (Joomla)
    • Overriding a Gizmo (WordPress)
    • Creating an Unsupported Page
    • Creating a Popup Login Feature (Joomla)
    • Creating a Popup Login Widget (WordPress)
    • Adding a Custom Mainbody Layout
    • Adding a Custom Stylesheet
    • Adding a Custom Font
    • Customize the Error Page
    • WordPress: WPML Support
    • Creating a Multilingual Site (Joomla)

Clear History

Built with Grav - The Modern Flat File CMS

Performance boosted by KeyCDN

edit this page
Gantry 5 Advanced

Chapter 5

Advanced

Featuring some advanced customization and configuration options for Gantry 5.

  • Creating a New Particle
    • Creating the YAML File
    • Creating the Twig File
    • Pulling Gantry Configuration Data Using Twig
    • Customizing an Existing Particle
  • Particle YAML Field Types
    • HTML Input Field Types
    • Gantry-specific Input Field Types
    • Selectize Fields
    • Gantry Alerts, Notes and Styling
  • How to Customize Theme Files
    • Customizing Theme Files
    • Theme Directory Matrix
      • Template Files
      • Engine Files
      • Administrator Files
  • Creating Layout Presets
    • Preset Images
    • Creating a New Layout Preset
    • How to Create a Sidebar Section
    • Spanning a Sidebar Across Multiple Sections
    • Syntax Guide
    • Common YAML Layout Items
    • YAML Versions
  • Creating Custom File Overrides
    • Gantry Directory Structure
    • Gantry Theme Files
  • Adding New PHP Functions
    • Overriding the theme.php File
      • Preparing to Use Mobile Detect
      • Putting the Class to Use
    • Real World Example
  • How to Load CSS / JS from Twig
    • Advanced Tip
  • How to Load Joomla Content in Particles
  • How to Create Custom Responsive Content