Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Change the width of the editor

edited October 2010 in Vanilla 2.0 - 2.8
Hi,

I have the 'embed' theme which allows me to use this with wordpress. However i am wanting to change the width of the editor.

Can this be done|?

Comments

  • Hey there ... this is an easy fix.

    Go to /plugins/jwysiwyg/ and open jquery.wysiwyg.css and line 3 at the top you will see this:
    textarea#Form_Body { position: absolute; overflow: hidden; top: -999px; }

    change to:
    textarea#Form_Body { position: absolute; overflow: hidden; top: -999px; width:450px; }

    So really you are just adding {width:450px;} to the end. So, you can increase or decrease the size to fit your layout.

    Hope this helps.

    Cheers
  • Hello again ...

    Ok, I made a couple of changes again ... see below

    Lines 2 - 6:
    ul.panel {margin-bottom: 2px !important;}
    textarea#Form_Body { position: absolute; overflow: hidden; top: -999px; width:520px;}
    div#CommentForm form#Form_Comment div {margin-bottom: 10px;}
    div.MessageForm {width:525px;}
    .Buttons {padding:20px 5px 20px 0;}

    Hope this helps

    Cheers
Sign In or Register to comment.