Editor-style backend CSS

I am looking into changing the backend content creation screen as can be seen in the Beans Child theme today.
From this:

Beans-default-editor-stylesheet

 

and instead using the Twenty Sixteen editor stylesheet. So it looks like this:

Twenty-Sixteen-Editor-stylesheet

 

To make the adjustment I went to https://github.com/WordPress/twentysixteen and downloaded the Twenty Sixteen official WordPress theme.
Opened the CSS folder and duplicated editor-style.css into the root of my child theme.

In the child theme functions.php file I added:

// Add support for editor stylesheet - using twenty Sixteens editor stylesheet.
add_editor_style( 'editor-style.css' );

// Remove beans editor styling
beans_remove_action( 'beans_add_editor_assets' );

 

No comment yet, add your voice below!


Add a Comment

Your email address will not be published. Required fields are marked *

Comment *
Name *
Email *
Website