PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. CSS
  4. Blocks CSS: CSS Editor for Gutenberg…
Blocks CSS: CSS Editor for Gutenberg Blocks icon

Blocks CSS: CSS Editor for Gutenberg Blocks

Blocks CSS allows you add custom CSS to your Blocks straight from the Block Editor (Gutenberg).

By Hardeep Asrani·CSS·Free
4.9(25 reviews)
·5.0K+ active installs·Updated 2 days ago
DownloadVisit HomepageCompare

As of April 2026, Blocks CSS: CSS Editor for Gutenberg Blocks is a WordPress css plugin with 5.0K+ active installations and a 4.9/5 rating from 25 reviews. It has been downloaded 196K+ times in total. Requires WordPress 6.2+ and PHP 5.4+. Available on WordPress.org since 2019. Actively maintained — updated within the last month. Downloads are down 36% this week. Top alternative: WPCode – Insert Headers and Footers +….

4.9/525 reviews
5.0K+active installs
196K+total downloads
7 yearssince 2019

Overview

Blocks CSS allows you add custom CSS to your Blocks straight from the Block Editor (Gutenberg).

It adds a syntax-highlighted CSS Editor where you can add additional CSS to your Gutenberg Blocks to style them the way you want.

All the code and sources for this plugin are publicly available as part of https://github.com/Codeinwp/otter-blocks.

Read full description on WordPress.org

Screenshots

Ratings & Reviews

4.925 reviews
5 ★
23
4 ★
1
3 ★
1
2 ★
0
1 ★
0

Recent Reviews

Indispensable!
by maltmann·4 months ago·1 reply

Works like a charm on any of my recent WP projects.

[EDIT]
I need to change my review.
On some setups, I get two CSS editors shown in the “Custom CSS” attribute panel, and only contents of the second instance are getting saved.

Problem:
Two CodeMirror editors are displayed in the Custom CSS panel of the Blocks CSS plugin instead of one. Both editors are located in the same container.

Assumed Root Cause:
WordPress enables React StrictMode by default in the Block Editor.
React StrictMode runs useEffect hooks twice to detect potential side effects.

Analysis:
The Blocks CSS plugin initializes CodeMirror in a useEffect hook.
Since this useEffect doesn’t have a cleanup function that checks whether CodeMirror is already initialized, wp.CodeMirror() is called again on every mount cycle. With StrictMode enabled, this means: twice on the same DOM element.

Probable Solution:
The useEffect hook should implement a cleanup function that prevents CodeMirror from being initialized multiple times on the same element.

Side Notes:
This only happens in some of my setups.
I couldn’t figure out any possibly conflicting theme, plugin or code snippet. So I assume it might be something like a timing issue.

Conclusion:
I won’t change the 5-star rating, because despite of this problem the plugin does its job.
And I know how to handle this issue by a simple CSS rule to hide all Block CSS CodeMirrors except the last one:

#o-css-editor .CodeMirror:not(:last-child) {
display: none;
}

  • This topic was modified 1 month, 3 weeks ago by maltmann. Reason: Revision after issues in some setups
Отличный плагин
by Сергей·4 months ago·1 reply

Отличный плагин

Моя оценка: пять звезд
by shooter604·4 months ago·1 reply

Очень классные возможности! Пользуюсь постоянно!

The Other Review Titles Say It All
by someguy42·1 year ago·1 reply

“Essential, Useful Tool, Completes the Block Editor, Should be part of the core,” The one thing they don’t mention is how quick and genuinely concerned the support is.

Simple and great plugin!
by Andreslav·2 years ago·1 reply

Does exactly what I need it to do.

Download Trends

Today: 548Yesterday: 1KThis week: 2KPeriod total: 38K

Compatibility

WordPress6.2+ requiredTested up to 6.9.4
PHP5.4+ required

Version Adoption

v3.1
70.2%
v3.0
13.8%
Other
10.8%
v2.6
5.2%

Top Alternatives to Blocks CSS: CSS Editor for Gutenberg…

WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager icon
WPCode – Insert Headers and Footers +…
4.93.0M+ installsUpdated 2 weeks ago
ViewCompare
Code Snippets icon
Code Snippets
4.71.0M+ installsUpdated 1 month ago
ViewCompare
Simple Custom CSS Plugin icon
Simple Custom CSS Plugin
4.7100K+ installsUpdated 1 year ago
ViewCompare
Widget CSS Classes icon
Widget CSS Classes
4.990K+ installsUpdated 1 year ago
ViewCompare
Simple CSS icon
Simple CSS
4.980K+ installsUpdated 6 months ago
ViewCompare
View all css plugins →

Frequently Asked Questions

Changelog

You can check the changelog here.

View full changelog on WordPress.org

Contributors

ThemeisleThemeisleHardeep AsraniHardeep Asrani
Plugin Info
Version
3.1.8
Last Updated
Apr 1, 2026
WP Requires
6.2+
Tested Up To
6.9.4
PHP Requires
5.4+
Active Installs
5.0K+
Downloads
196K+
Added
Feb 14, 2019
Business
Free

Tags

cssblockgutenbergblocks csscss editor

Developer

H
Hardeep Asrani
5 plugins0.1M+ total installs
View all plugins →

Quick Compare

Blocks CSS: CSS Editor for Gutenberg… vs WPCode – Insert Headers and Footers +…→Blocks CSS: CSS Editor for Gutenberg… vs Code Snippets→Blocks CSS: CSS Editor for Gutenberg… vs Simple Custom CSS Plugin→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.