Quantcast
Channel: WordPress.org Forums » [Elementor Blocks for Gutenberg] Support
Viewing all articles
Browse latest Browse all 33

Giving a custom class in Gutenberg to the Elementor block

$
0
0

Replies: 0

Hello.

It seems that giving custom classes to Elementor blocks from Gutenberg editor is not possible.

The Elementor block showing up in the frontend does not include the class given in Gutenberg. For example, I’ve given the custom class “fullwidth” to an Elementor block. However, the block only ever has the following as it’s classes:

class="elementor elementor-173 elementor-location-single"

So it seems that Elementor overwrites the Gutenberg-given class when outputting content.

Other blocks do print out their custom classes given in Gutenberg, so the classing of blocks itself is working.

Thank you 🙂


Viewing all articles
Browse latest Browse all 33

Trending Articles