Text width in visual editor
-
Is it possible to set the width of the text column in the editing window so that it matches the actual blog theme?
The blog I need help with is: (visible only to logged in users)
-
Hi Guillaume,
There isn’t a setting built-in to WordPress.com that adjusts the content width within the editing window to match the post width of the theme. Some themes build that in. However, you could achieve the same thing with a browser add-on like Stylish that lets you apply CSS to any web page. Here’s the link for Mozilla Firefox:
https://addons.mozilla.org/en-US/firefox/addon/stylish/
After you install the add-on, you could set the following CSS:
body.wp-autoresize { max-width: 700px; }That would limit the content width within the editor to 700px, which is the width of the McKinley content.
Would that work?
-
Thanks a lot, it works. It won’t be enough for my personal blog though, since there are a lot more differences between the editor and McKinley theme (type style and size, etc.). I’ll have to study CSS a little more then…
But in fact I needed this information for my other blog, which is premium so the Stylish add-on is not necessary. My admin already knew the right CSS code and was able to fix the problem but it was not that simple because for some reason, TinyMCE Advanced tends to prevent us to resize under 560px and we need a 535 px column. -
Hi Guillaume,
Can you let me know what the URL is of the other site you’re trying these changes on?
-
mag.mo5.com !
What my admin tried to do yesterday doesn’t work since I have to refresh (CTRL-F5) the page to resize the column, and it only works with an already published article (not a saved draft – I tried it), when it’s not needed anymore… -
Hi Guillaume,
It looks like mag.mo5.com is a self-hosted site so I’m unable to see the backend or offer much help at all here. You can find support for self-hosted WordPress sites here:
Someone in the WordPress.org support forums will likely be able to lead you in the right direction!
- The topic ‘Text width in visual editor’ is closed to new replies.