Extending textpattern’s code edit windows

Love editing code in textpattern? Wish you had more room to write your code?

Go find your default texpattern 4.2.0 .css file located in: /textpattern/theme/classic/textpattern.css

Copy the CSS below and paste it at the end and hit save.

#page-page tr td.column:nth-of-type(2), #page-form #edit tr td:nth-of-type(2), #page-css #edit tr td:nth-of-type(2) {
	width: 80%;
}
textarea#html.code, textarea#form.code, textarea#css.code {
	width: 100%;
}

If you have another txp admin theme enabled it may not work. But you get the idea of what the above code is doing.