How Enhancements Work

The framework applies enhancements through:

No core block functionality is removed or broken. All enhancements are additive.

Enhanced Blocks

Each block below has a class in vendor/aegis/framework/src/CoreBlocks/ that filters its front-end output (render_block_core/{name}). That folder also holds IconBlockAttributes.php (extra attributes for Icon) and ImageLightbox.php (lightbox extras for Image), which are helpers, not separate blocks. Blocks not listed here, such as Gallery, Media & Text, Table, Pullquote, or Separator, have no framework class. They get at most theme.json styling and block styles.

Text Blocks

BlockEnhancements
ParagraphEnsures the wp-block-paragraph class, applies custom margin and padding, and fixes malformed URLs
HeadingCustom spacing, a unique id for anchor links, and better heading text on search results pages
ListFlexbox layout controls, custom spacing, and a URL formatting fix. Block styles add checklists, dashes, and more (see below)
CodeApplies the block’s margin settings to the <pre> element. Copy-to-clipboard control
DetailsCustom expand and collapse icons, custom padding, and a script for smooth open and close animation
ShortcodeRuns shortcodes in the block and strips the stray <p> tags WordPress adds

Media Blocks

BlockEnhancements
ImageShadow options, border radius, hover effects, aspect ratio presets. Lightbox overlay follows light/dark (or the Site Editor background). Expand-on-click trigger sits on the image, not the full-width figure. Image captions stay on the figure, not the overlay. The former Image Icon variation was removed — use core/icon. Extra lightbox features are gated at Aegis → Blocks → Lightbox — see Lightbox. The same Aspect Ratio / Height / Object Fit / Object Position inspector also applies to Pro aegis/image-compare (render_block_aegis/image-compare; height uses CSS custom properties on the wrapper)
IconWordPress Icon library (core/{name}) plus Aegis collections (social/{name}, Pro sets). Custom SVG, gradients, gallery, and currentColor for dark mode — see SVG Icons
CoverFallback placeholder image, custom padding, and z-index control through a CSS custom property
AudioStyled as a card in theme.json: Neutral 100 background, the theme border radius, and xs inner padding. The player fills the card and can shrink below core’s 300px minimum, so it fits narrow columns and phones. The caption sits inside the card at caption size, without the default caption padding. Overrides that need more than theme.json live in vendor/aegis/framework/public/css/core-blocks/audio.css, which loads only when an Audio block is on the page (and in the editor). Margin and padding are adjustable per block under Dimensions
VideoEnables responsive embeds and styles the video block and the standard WordPress player (video.css). The Aegis player comes from the Aegis Video add-on — see Core Video Block

Layout Blocks

BlockEnhancements
GroupminHeight, custom spacing, and accessibility handling when the HTML tag is <main>
ColumnsCustom margin, an is-stacked-on-mobile or is-not-stacked-on-mobile class, and the column count as a data attribute
ButtonsCustom margin and padding on the button group wrapper
ButtonCustom icons, responsive controls, CSS transforms, button text repair, and URL fixes
SpacerMerges margin settings and drops the fixed width when a responsive width is set
Template PartApplies color settings to the part wrapper and fires the aegis_before_{slug} and aegis_after_{slug} hooks (see Hook Patterns (Theme Injection Hooks)). Skip links are left untouched
BlockEnhancements
NavigationOverlay menu styles, CSS filters, dynamic submenu border CSS from theme.json, and accessibility fixes in the markup
Navigation SubmenuConverts color and spacing settings into CSS custom properties on the submenu list. Supports multi-column mega menus
Page ListApplies the block gap as a CSS custom property
SearchInput and button styling, shadow presets, custom box shadows, and the CSS search toggle
Social LinksReplaces inline hex colors with the matching palette variables, so icons follow style variations and dark mode
Social LinkRenders icons from the Aegis social icon set
Table of ContentsRebuilds the list from the page title and in-content headings, applies block gap, and detects sidebar placement

Post and Query Blocks

BlockEnhancements
Post TitleUses the posts page title on the blog index and sets a heading id from the anchor or text
Post ContentCustom spacing, an optional content limit, and the aegis_before_content / aegis_after_content hooks
Post ExcerptVisibility on singular pages, Read More link handling, length limits, and custom styling. Adds excerpt support to pages
Post Featured ImageBox shadows, CSS transforms, and CSS filters for normal and hover states
Post DateApplies custom margin to the wrapper
Post TermsCan rebuild the list to show all terms of a taxonomy, and styles terms as badges
Post AuthorCustom border and spacing; the name wrapper becomes a <span>
Post Comments FormConfigurable title heading tag (aegis_comments_form_title_tag) and the context core/comments needs
Post TemplateGrid or flex layout and spacing for each Query Loop item
QueryResponsive columns, gaps, featured-first, equal-height, no-results — gated at Aegis → Blocks → Query Loop. See Aegis Dash Query Loop.
Query PaginationMerges margin, padding, and border radius into the pagination <nav>
Query TitleRenders the posts page title on the blog index (and a placeholder in the editor) when WordPress outputs none
CalendarMoves color classes from the <table> to the wrapper so padding and margins display
Tag CloudEnforces a minimum font size from the block’s size settings

Block Styles

The framework registers these styles (vendor/aegis/framework/src/DesignSystem/BlockStyles.php). They appear in the Styles panel when you select a block:

Aegis adds extra styles to core blocks.

BlockStyles
Archive TitleSub-heading
ButtonsSurface
ButtonGhost
CodeSurface, Light, Dark
ColumnsSurface, Light, Dark
ColumnSurface, Light, Dark
Comment Author NameHeading
DetailsHeading (summary)
GroupSurface, Light, Dark
ListChecklist, Check outline, Check circle, Square, List heading, Dash, None
List ItemSurface
NavigationHeading
Page ListNone
ParagraphSub-heading, Notice, Heading
Post Author NameHeading
Post TermsList, Sub-heading, Badges
Post TitleSub-heading
Query PaginationBadges
Read MoreButton
Site TitleHeading
SpacerAngle, Curve, Round, Wave, Fade
Tag CloudBadges
QuoteSurface

Quote gets only the Surface style.

The framework also removes some core styles: Rounded and Default from Image and Site Logo, and Wide and Dots from Separator. Separator keeps only its default style.

Global Block Styling

Aegis applies consistent styling across all enhanced blocks through theme.json:

Per-Block Global Styles

You can override the default styling of any block type:

  1. Open the Site Editor (Appearance → Editor).
  2. Click the Styles icon.
  3. Navigate to Blocks.
  4. Search for or select a specific block type.
  5. Adjust colors, typography, dimensions, and border settings.
  6. Save — all instances of that block type will update.

Block Supports

theme.json turns on appearance tools, border controls (color, radius, style, width), link color, custom spacing sizes, and custom duotones and gradients for every block. Per-block defaults (colors, typography, spacing, borders) for 35 core blocks live under styles.blocks in theme.json. The framework inspector controls (animation, box shadow, filters, transforms, responsive visibility, and more) are documented in Theme Inventory.

Responsive Behavior

Responsive improvements in the enhanced blocks:

Core Responsive States and Aegis Breakpoints

WordPress Core responsive style states (viewport-specific spacing, color, typography, and related supports in the Site Editor) apply to blocks that use standard block supports. Aegis continues to provide complementary controls Core does not fully replace:

Responsive settings at the Aegis breakpoints.

ConcernHandled by
Per-viewport styles on standard supportsCore responsive style states
Show/hide by viewport (aegis-hide-mobile, and related)Aegis visibility
Display, order, and width per deviceAegis Display panel
Landscape / tablet editor breakpointsAegis responsive breakpoint UI
Query column counts per breakpointAegis Query layout

Keep both systems. Prefer Core for ordinary style changes; use Aegis for visibility, layout, and query column behavior. If editor preview controls look duplicated after a WordPress update, see Common Issues.

core/breadcrumbs receives theme.json styles and the breadcrumbs.css stylesheet (also applied when .rank-math-breadcrumb, .seopress-breadcrumbs, #breadcrumbs, or .yoast-breadcrumbs markup is present; separators styled via Rank Math .separator and SEOPress .breadcrumb-sep; Yoast current crumb via .breadcrumb_last without a forced flex wrapper). WooCommerce Store Breadcrumbs (woocommerce/breadcrumbs) use woocommerce-breadcrumbs.css and wrap the delimiter in .aegis-breadcrumb-separator, same as classic Woo breadcrumbs. See WooCommerce Integration and SEO Schema Delegation.

Accessibility

Enhanced blocks maintain or improve the theme’s accessibility-ready foundation:

See Accessibility for landmarks, skip links, and content-author responsibilities.

Next Steps