Home Plugins block enhancements
Gutenberg Block Enhancements – Icon, Responsive Spacing, Typography, Alignment, Shadow, Transform, Transition, Hover Style logo

Gutenberg Block Enhancements – Icon, Responsive Spacing, Typography, Alignment, Shadow, Transform, Transition, Hover Style

by Phi Phan on WordPress.org

Add icon, responsive spacing, typography, alignment, shadow, transform, transition, color, hover style to blocks. Lightweight, fast, and clean.

(6)
Add an icon to a heading

Add an icon to a heading

Block Enhancements adds powerful design options to core Gutenberg blocks, so you don’t need to install heavy custom block libraries.
It’s the easiest way to make your existing blocks more flexible and responsive while keeping your site fast and clean. All dynamic styles are rendered in the document head instead of inline styles.
Unlike other similar plugins, this plugin is lightweight. It only loads what you need. You can enable or disable individual features per block type from the plugin’s settings page.

It works with all Gutenberg-ready themes, however, the with-icon feature uses the CSS pseudo ::before to add icons with the mask-image CSS property. It may conflict with other plugins or themes that use the same technique.

Key Features

  • Add icons to buttons, headings, lists, navigation blocks (built-in 3000+ icon library or custom SVGs).
  • Set responsive dimensions: padding, margin, and block spacing per device.
  • Adjust responsive typography: font size, weight, line height, letter spacing per device.
  • Apply 2D transforms (translate, rotate, skew, scale) per device with hover styles.
  • Add box-shadow and text-shadow with hover state styles.
  • Customize text and background colors with hover styles.
  • Control responsive text alignment for Group, Columns, and Column blocks.
  • Use transitions for smooth hover style changes.
  • Define responsive CSS positions (relative, absolute, sticky, static) with custom offsets.

Common use cases

  1. Add icons to blocks (button, heading, list, navigation).
  2. Change spacing (padding, margin, block spacing) for button, group, row, grid, columns, gallery blocks per device.
  3. Change typography (font size, font weight, line-height, letter spacing) per device.
  4. Change text-alignment for group blocks per device. For example text-align center on mobile but text-align left on the desktop.
  5. Add 2D transforms with hover styles.
  6. Add box-shadow, text-shadow with hover styles.
  7. Change text color, background color on mouse hover.

How to use a feature

  1. Select the block in the Block Editor.
  2. Choose the style tab from the inspector settings.
  3. Click on the plus (+) icon of the Block Enhancements panel to choose the feature and input your settings.
  4. If the feature does not show up, go to the setting page (Settings Block Enhancements) to add the feature to your block type.
  5. To input settings for responsive features, you have to switch to between device mode (Desktop/Tablet/Mobile).
  6. The responsive text alignment settings is on the block toolbar not in the inspector settings.
  7. See the video tutorials and the screenshots for more details.

Video tutorials

How to customize a core button in Gutenberg:

Please help this plugin grow by reporting issues and giving suggestions.

If this plugin is useful for you, please do a quick review and rate it on WordPress.org to help us spread the word. I would very much appreciate it.

Please check out my other plugins if you’re interested:

  • Content Blocks Builder – Build custom layouts and blocks visually in the Block Editor without needing a code editor, using only core blocks and native Gutenberg features.
  • Meta Field Block – A block to display custom fields as blocks on the front end. It supports custom fields for posts, terms, users, and setting fields. It can also be used in the Query Loop block.
  • SVG Block – A block to display SVG images as blocks. Useful for images, icons, dividers, and buttons. It allows you to upload SVG images and load them into the icon library.
  • Icon separator – A tiny block just like the core/separator block but with the ability to add an icon.
  • Breadcrumb Block – A simple breadcrumb trail block that supports JSON-LD structured data and is compatible with WooCommerce.
  • Counting Number Block – A block to display numbers with a counting effect
  • Better YouTube Embed Block – A block to solve the performance issue with embedded YouTube videos. It can also embed multiple videos and playlists.

The plugin is developed using @wordpress/scripts.

Active installations400+
Weekly downloads
329+996.67%
Version1.2.8
Last updated10/15/2025
WordPress version6.5
Tested up to6.8.3
PHP version7.0
Tags
blocksbuttonhovericonresponsive