Skip to content

Instantly share code, notes, and snippets.

@WordPress-Handbuch
Created March 26, 2019 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WordPress-Handbuch/1763c933f160f4f9723559cba5bf981d to your computer and use it in GitHub Desktop.
Save WordPress-Handbuch/1763c933f160f4f9723559cba5bf981d to your computer and use it in GitHub Desktop.
Example Gutenberg editor styles to be included via add_editor_style( 'listing-21-4.css' );
body {
background-color: #00ffff;
color: #0000ff;
}
.wp-block {
max-width: 300px;
}
.wp-block[data-align="wide"] {
max-width: 500px;
}
.wp-block[data-align="full"] {
max-width: none;
}
.wp-block-image {
border: 5px solid #ff0000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment