Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Columns block missing classes #17765

Closed
zkingdesign opened this issue Oct 4, 2019 · 1 comment
Closed

Columns block missing classes #17765

zkingdesign opened this issue Oct 4, 2019 · 1 comment

Comments

@zkingdesign
Copy link

Describe the bug
I'm having issues when adding in new column blocks. While before the html looked like this :
<div class="wp-block-columns has-3-columns">

now the front-end is only outputting:
<div class="wp-block-columns">

Why is this happening?

Additional context

  • Gutenberg 6.6
@youknowriad
Copy link
Contributor

Hi there and thanks for opening the issue.

This is an intended change though. The idea is that right now the columns can have different widths so relying on the number of columns (that className) to style them might not be a great idea.

We wrote this post that goes through all the theme related changes for WordPress 5.3 https://make.wordpress.org/core/2019/09/27/block-editor-theme-related-updates-in-wordpress-5-3/

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants