How can I make the textarea for content and pages wider?
-
Hi Everyone,
Dealing with what should be a very easy problem; for whatever reason, I’m struggling with it…I personally find the content textarea too narrow for my liking. In the admin panel, it seems fairly easy to add more rows, but there doesn’t seem to be a simple way to add colums. In fact, this seems to be ignored because the textarea is defined by a style, like so:
<textarea rows="<?php echo $rows; ?>" cols="10" name="content" tabindex="5" id="content">
In the stylesheet for my theme, the content class is defined to be just 510px wide. The content class is also used to style the content layout on the page view as well.
Here’s where it gets a bit tricky. If I create a new class, say content1, and give it the exact same elements that are in the content class, then it works (which means I can increase the size to whatever I want). However, for whatever reason, the quicktags fail to work using this new style!
My only option is to increase the width defined in the content class, but that will impact how the content is styled on the front end. Considering WordPress wraps each paragraph element inside brackets, it shouldnt really matter for the input and display elements to be the same width correct?
Or am I missing something here?
Thanks for your help.
Geoffrey
- The topic ‘How can I make the textarea for content and pages wider?’ is closed to new replies.