WordPress.org

Ready to get started?Download WordPress

Forums

Post Composition Font Size (8 posts)

  1. idiosyncrasy
    Member
    Posted 9 years ago #

    Hello, another newbie here. =)
    I would like to know how to change the font size of the post composition textarea (not the post itself on the main index.php page) - the one under 'Write' in the admin section. I've already looked through wp-admin.css & wp-layout.css, but I can't get it. I have no problems editing all the other font sizes but I've no idea how to change the one in the textarea.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    p, li, feedback{}

  3. Ryan Duff
    Member
    Posted 9 years ago #

    The line of code he's looking at is...
    <div><textarea rows="<?php echo $rows; ?>" cols="40" name="content" tabindex="4" id="content"><?php echo $content ?></textarea></div>
    the textarea already has a id of content. Isn't that the correct id to change in the css?
    #content, #excerpt {
    margin-left: 1%;
    width: 97%;

  4. idiosyncrasy
    Member
    Posted 9 years ago #

    I tried editing the p, li, feedback part, but it didn't change.
    Editing the #content, #excerpt only changed the size of the box.
    I would like to know how to change the font size in the textarea.

  5. Ryan Duff
    Member
    Posted 9 years ago #

    I just tested it, change it to this...
    #content, #excerpt {
    margin-left: 1%;
    width: 97%;
    font-size: 20px;
    }

    I had to do a ctrl+r to force refresh the css, but it did it, 16px is about the normal size, for reference.

  6. idiosyncrasy
    Member
    Posted 9 years ago #

    Ah yes, that did the trick.
    Thank you.

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Got this?
    textarea, input, select {
    background: #f4f4f4;
    border: 1px solid #b2b2b2;
    color: #000;
    font-family: Georgia, "Times New Roman", Times, serif;
    margin: 1px;
    padding: 3px;
    }
    Make this too:
    textarea {
    font-size:120%;
    font: Tahoma;
    }
    Change to suit of course

  8. Rich Owings
    Member
    Posted 8 years ago #

    So is the code that needs to be changed in wp-admin.css or wp-layout.css?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.