Hi!
I don’t think I’ve ever seen the classic editor not being full width – have you? I don’t think I have a solution for what you want. Different screens will show different width for the editor.
The only option I have in the theme is:
Customize > Theme Options > Styling > Content Max-width
But that does not affect the classic editor, but the theme’s content width.
Other than resizing your own browser window when editing, I don’t have a solution.
The image that I attached before (the editor with the theme’s width) refers to one of my blogs with a theme that imposes the width to the editor.
Some themes (like Chaplin, Twenty Twenty, Twenty Sixteen and more, for example) do it.
For this reason I asked, because I know it is possible to do it.
Thanks the same for your availability.
I found the solution myself 😎.
Just create an editor-style.css file with the code:
body {
max-width: 740px;
}
and add a string to the functions.php file:
add_editor_style( array( 'editor-style.css' ) );
I share the solution for all interested people.
Awesome, thanks for sharing! I had no idea about that one.
@saraneve Awesome tip. I followed your instructions but did not work for me. To be clear, i upload the editor-style.css file to my theme child directory right? And it’s when we’re “editing” a page that we want to see the page width match the theme right? (your screenshot link no longer works)>
WordPress Version 6.1.1
Classic editor Version 1.6.2