Widen WordPress Content Writing Area

CSS controlled background

I was using WordPress 2.3.x fine but I upgraded to WordPress 2.5.1 today and despite the nice interface I found that the writing area is a tad narrow for my preference.

So here’s what I did….


Firstly, you need to find the correct CSS file to edit. And that CSS file is named global.css, it’s found in the \wp-admin\css directory

Use whatever text editor that you’re familiar with, look for the CSS portion that looks like,

1
2
3
4
5
6
7
.wrap, .updated, .error {
	margin: 0;
	margin-left: 15px;
	margin-right: 15px;
	padding: 0;
	max-width: 980px;
}

It should be around line #154, all you need to do is remove the line

1
	max-width: 980px;

It will then look like this

1
2
3
4
5
6
.wrap, .updated, .error {
	margin: 0;
	margin-left: 15px;
	margin-right: 15px;
	padding: 0;
}

So there ya have it. It’ll now expand according to your screen size.

Ok, so maybe you find that it looks a bit too wide on your wide-screen display unit. Fine, just put back the line above and edit the pixel width to whatever that floats your boat.

Say, 1280px perhaps?

1
2
3
4
5
6
7
.wrap, .updated, .error {
	margin: 0;
	margin-left: 15px;
	margin-right: 15px;
	padding: 0;
	max-width: 1280px;
}

If you feel creative (and have too much free time on your hands), feel free to edit the rest of the WordPress CSS to suit your liking. 🙂

*Note – being a SIMPLE (and yes, FASTEST) solution, this modification WILL widen the rest of the WP-Admin interface. Ideally, you could configure it in such a way that it only applies to a particular function or 2 but this would require a lot more work. 🙂

goldfries rated this product :

11 Comments

  1. Hey, great tips! I heard that we can actually download different admin themes for WP2.5.x. Had you try this?

  2. Author

    No I haven’t. I’m not picky about Administrative themes but it certainly customizable as long as you’re familiar with XHTML / CSS.

  3. yeap u can actually. it is called fluecy admin. but it is not fully stable all plugin.

  4. Author

    For me, I find it pointless to edit WP interface just to look fancy. I personally would only edit it if it helps me in usage.

  5. Hello goldfries,

    i have a blog at wordpress as well, and i would like to get it hosted and get rid of the wordpress name from my blog url.

    can you recommend a hosting site and how do i get the wordpress name ? thanks bro.

  6. Author

    Going off-topic but…..

    How about just getting a domain and pointing it there? 😀

  7. how to put a topic and start discussion??? can anyone teach me by emailing me plss




Comments are closed.