I’ve been looking around on how to re-size the WYSIWYS editor for wordpress and have used firebug to re-size the #post-body-content but it doesn’t resize ever. It will resize in the firebug application but not when I go to put it into my style.css for my toolbox theme.
#post-body-content {
width:650px !important;
}
Is there something I have to put in the functions.php page?
UPDATE
I’ve placed the provided code into my function.php file and it worked but only half of it. I’ve tried to place another style for another part I see but it doesn’t apply the style. Am I only allowed one style in the new function?
The line just behind the content is the newly resized editor, but the content is still spilling past it. Would it be because of the Tiny MCE toolbar?
Instead of resizing the editor, resize the internal representation inside the TinyMCE instance so the content itself never passes the line. This way the editor can eb any width and the content will never be wider than it’s intended to
Start by adding the editor style in functions.php
Inside custom-editor-style.css put:
This will center the content inside the editable area in a 600px wide column.
Using this method you can style the editable area to look like the front end, making the WYSIWYG editor far more realistic
e.g. my own site:
You have to add the css to WordPress admin section within your theme functions.php file with one of these to actions:
Or if you want more control and will add more css, load a new css file in your theme folder like this in the folder css as stylesheet my-style.css:
out of curiosity, why do you want to set the editor to 650px width?
Put the following in your functions.php file:
Try to explicity set the width of the editor
You also should resize the container where the editor is in