跳到内容

Mortar for Bricks Builder

v1.10.1

Samir Haddad · 2026年6月23日 上架

Workflow tools for Bricks Builder: BEM classes, responsive viewport testing, CSS recipes, smart values and structure shortcuts.

正在使用
300+
评分
5.0 / 5
累计下载
3,721
最近更新
2026年11月21日
3 条评价需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

贡献者

截图

The Mortar settings panel inside the Bricks editor — every module with a description and a live example.
The Mortar settings panel inside the Bricks editor — every module with a description and a live example.
BEM Generator — bulk-create and rename classes with BEM naming, right from the structure panel.
BEM Generator — bulk-create and rename classes with BEM naming, right from the structure panel.
CSS Recipes — type a shortcut like @clickable-parent; and it expands into full CSS.
CSS Recipes — type a shortcut like @clickable-parent; and it expands into full CSS.
Smart Values — turn --space-m into var(--space-m) with one keypress.
Smart Values — turn --space-m into var(--space-m) with one keypress.

Mortar adds practical workflow tools to Bricks Builder: manage BEM classes, test responsive layouts, write CSS faster and work directly from the structure panel.

Each tool is explained in the Mortar settings panel with a description and a live example, so you can choose what fits your workflow.

Included modules

  • BEM Generator: create and rename BEM classes in bulk. Review the element hierarchy and proposed changes before applying, with nested block detection and protected component instances. Your default All/None selection is saved per user across browsers.
  • Viewport Resizer: test responsive layouts with a canvas-width slider, breakpoint markers and a reset control. Use Bricks’ native width field for precise values.
  • Infinite Canvas: compare breakpoints in a pannable, zoomable workspace with full-page previews of unsaved changes. Open any canvas in the normal Bricks view to edit it. Your zoom and position are remembered; toggle it with Command/Control + Shift + I.
  • CSS Recipes: create, edit and manage reusable CSS shortcuts. Customize, disable or restore the included recipes, with changes shared across your site.
  • Smart Values: convert CSS variables, calculations and pixel-to-rem values as you type, including in the Custom CSS editor.
  • HTML Tags: change semantic HTML tags directly from the structure panel, including when editing component definitions.
  • Style Indicators: see which elements have styles applied through classes or element IDs.
  • Sidebar Shortcuts: add frequently used elements through a configurable quick-insert rail.
  • Auto-Select Class: automatically select an element’s first existing, unlocked global class. Bricks 2.4 also provides a native first-class option.
  • Export ID Styles to Class: move ID-level styles to the first CSS class in one click.
  • Expand Children: expand or collapse an entire subtree at once, including inside component definitions.
  • Editor Theme: customise the builder’s accent and surface colours with presets and saved palettes. The Custom CSS editor follows your theme too.

Requirements

Mortar requires Bricks Builder and runs inside its editor.

Independence and trademark

Mortar is an independent project, not affiliated with, endorsed by or sponsored by Bricks Builder or its makers. “Bricks” is a trademark of its respective owner and is used here only to describe compatibility.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums