Page BuildersBricks
Page Builders

Bricks Builder Reference

Technical documentation for using Respira with Bricks Builder: JSON-based elements, targeting strategies, and safe editing workflows.

Bricks Builder Reference

Technical documentation for using Respira with Bricks Builder.

About Bricks

Bricks Builder is a modern, performance-focused WordPress page builder that stores content as lightweight JSON. It's known for clean code output and developer-friendly features, with over 80 elements available.

Data Structure

Bricks stores page structure as JSON in post meta (_bricks_page_content_2). Elements are organized in a flat array with parent-child relationships:

{
  "elements": [
    {
      "id": "abc123",
      "name": "section",
      "parent": 0,
      "settings": { "tag": "section" }
    },
    {
      "id": "def456",
      "name": "heading",
      "parent": "abc123",
      "settings": {
        "text": "Welcome to Our Site",
        "_cssId": "hero-heading"
      }
    },
    {
      "id": "ghi789",
      "name": "button",
      "parent": "abc123",
      "settings": {
        "text": "Get Started",
        "link": { "url": "/contact" }
      }
    }
  ]
}

Module Identification

Set in Bricks: Element → Style → CSS → ID:

{ "admin_label": "hero-heading" }

By Element Name

Label important elements in the structure panel:

{ "admin_label": "Hero CTA Button" }

By Path

{ "path": "elements[2]" }

By Type and Content

{ "type": "button", "match_content": "Get Started" }

Common Elements

ElementTypeKey Settings
Headingheadingtext, tag
Texttexttext (HTML content)
Buttonbuttontext, link
Imageimageimage (id, url, alt)
Iconiconicon, link
VideovideovideoType, videoId
Containercontainerlayout settings
Sectionsectiontag, width
Blockblocklayout settings
Dividerdividerstyle

Example Prompts for Bricks

Content Updates:

  • "Update the element labeled 'Hero CTA' to link to /contact"
  • "Change the heading with ID 'hero-heading' to 'Welcome Home'"
  • "Replace all button text 'Learn More' with 'Get Started'"

Structure Queries:

  • "Extract Bricks structure for page 42"
  • "List all buttons on the homepage"
  • "Show me the element hierarchy"

Bulk Updates:

  • "Find all buttons and change their background color setting"
  • "Update the phone number across all sections"
  • "Change all H3 headings to H2"

Global Elements

Bricks global elements and templates are editable through Respira:

  • "List all Bricks templates" → Shows template library
  • "Update the global header logo" → Changes it site-wide

Theme Styles

Bricks theme styles define default styling. Respira preserves these while updating content.

Limitations

  • Complex interactions: Bricks interactions (scroll, click triggers) may need the builder
  • Query loops: Dynamic query loop settings are preserved but need the builder for changes
  • Conditions: Display conditions are preserved but not directly editable
  • Custom CSS: Per-element CSS is preserved; complex styling changes may need the builder

When to Use This Tool

  • Content updates - Change text, links, and images without opening the builder
  • Bulk edits - Update repeated content across multiple pages
  • SEO optimization - Fix heading hierarchy or add missing content
  • Template maintenance - Update global elements after initial design

See Also

Was this page helpful?
Built with Documentation.AI

Last updated Dec 15, 2025