Don’t miss this chance to learn the best way to add custom CSS to Gutenberg block in today’s blog. Everything will become easier and simpler than ever before.
Introduction
If you have been using WordPress for a long time, you are undoubtedly familiar with the classic editor. However, the arrival of Gutenberg, the new WordPress editor, has left a lot of WordPress users confused since they are not used to it. Gutenberg vs Classic Editor is a balanced fight because each editor has different outstanding advantages. Understanding the problem that most WordPress developers and owners are facing, we are here today to provide you with some guidelines and tips related to Gutenberg usage.
In the blog today, we would like to show you 2 methods to add custom CSS to the Gutenberg block. If you think this task is complicated or difficult, don’t worry, as it is simple to do. In contrast to Elementor, which requires you to use the pro version to apply custom CSS, Gutenberg enables you to accomplish your objectives just with the free version. Gutenberg vs Elementor is a story for another day. Now, it’s time for you to have a look at how to add custom CSS to Gutenberg block with the instructions below.
Let’s add custom CSS to Gutenberg block
Add custom CSS to Gutenberg block with WordPress customizer
If you have only been using Gutenberg for a few days, you may think there isn’t any place to add custom CSS. However, that is not true. You can do that just with a few simple steps. Here is the recommended method that you should try.
First of all, let’s choose the post or page where you want to add custom CSS to a Gutenberg block. Then, simply click to edit it.

After the editing window opens, you just need to choose which block you want to edit.
Now, it’s time for you to open the setting sidebar by pressing the key combination Ctrl+Shift+ or simply clicking the right mouse button -> Show more settings.

On the right side of the screen, don’t hesitate to select the Block section, then find the Advanced -> Additional CSS Class(es).
In the Additional CSS Class(es) field, fill in the name of the custom CSS style.

Once the CSS style name is entered, you need to press the Preview -> Preview in new tab to fully add custom CSS to Gutenberg block.

Now, the preview window will open. Let’s click the customize button on the top panel of the screen.
The customizing features will appear for you to edit. Simply find the Additional CSS, then click on it. There will be a box for you to add the custom CSS. Let’s make sure that the first line is the name of the custom CSS style you entered in the previous steps.
After adding the code, you can see the result on the right side of the display screen. Finally, don’t forget to click the Publish button to save all your settings.

Add custom CSS to Gutenberg block with a plugin
If you need a useful plugin that allows you to add custom CSS directly when you access any post or page, Gutenberg Blocks Library & Toolkit – Editor Plus can meet your requirements.
First of all, let’s install the plugin on your WordPress site. After installing and activating it, all you need to do is open any post or page, and choose the block you want to customize. Now, there will be new options on the left sidebar. The Custom CSS option lets you add your custom CSS style. Everything is simple, isn’t it?

Furthermore, with this plugin, you can also add custom CSS code that applies to all pages. In order to do that, you just need to go to Settings -> Editor Plus on the admin dashboard. Then, open the Advanced tab and put the global custom CSS code there.
Is it easy for you to add custom CSS to Gutenberg block?
To sum up, we believe that you can quickly add custom CSS to Gutenberg block after reading this tutorial. If you have any trouble related to this topic, don’t hesitate to leave your comment below. Moreover, don’t forget to share this blog with other Gutenberg users to help them conquer this editor effectively.
Last but not least, whenever you need to get more Free WordPress Themes in general and Gutenberg WordPress themes in particular, visit our site. Thanks for reading and have a nice day.



