0

Is there a simple way to add classnames to individual core Gutenberg blocks?

Blocks is a great step toward moving to a web where HTML structurally/functionally describes elements, which are styled elsewhere in CSS. However, this is limited in that blocks cannot be easily classed?

I'd be happy with a plugin that extends existing (or custom) block functionality to include classes and ids.

1

Every block has a field for custom CSS classes in the 'Advanced' panel:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.