The WYSIWYG uses the .wp-editor-container.wp-editor-container
class. So the easiest way would be to change this in your cssCSS. If your style is being over writtenoverwritten then just add !important!important
.
.wp-editor-container {
width:50%; // What ever size you want
}
the wp_editorwp_editor()
function also allows us to passadd a class to the nottextarea
tag, I'm not sure if this might help you. Here's how thothough:
<?php <?php wp_editor( $content, $editor_id, $settings = array( 'editor_class'=>'yourclass' ) ); ?>
You can take a look at the documentation here: wp_editor - Codex