WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change size of comment box (Rin theme) (7 posts)

  1. jonas20
    Member
    Posted 8 years ago #

    Hi,

    A newbie question...

    I'm using the Rin theme from http://www.brokenkode.com/rin

    I need to make the comment textarea narrower.
    On a page like http://game-research.com/2/?page_id=33 the layout breaks down in IE since the box is too wide.

    And I really can't work out how to shrink it...

    Help appreciated.
    Thanks.

    - Jonas

  2. yosemite
    Member
    Posted 8 years ago #

    You've got this:
    <textarea tabindex="4" rows="7" cols="20" id="comment" name="comment"/>

    and the 'cols' is defining the width of the textarea. That's prolly why you don't see any results from changing the css properties. Try cols="15", then dial it in?

  3. jonas20
    Member
    Posted 8 years ago #

    Hi Yosemite,

    I now have this:
    <textarea name="comment" id="comment" cols="15" rows="7" tabindex="4"></textarea>

    But that didn't change the size of the box (IE still not happy).

    - Jonas

  4. yosemite
    Member
    Posted 8 years ago #

    Weird... Looking again,

  5. yosemite
    Member
    Posted 8 years ago #

    Change your cols back to 20 ;')

    You can try this 'hack': Below #inputbox in your style.css, add the following

    #inputbox textarea {width:405px;}

    Then check in IE?

  6. jonas20
    Member
    Posted 8 years ago #

    Very, very good. Thanks a lot, Yosemite.

    - J

  7. yosemite
    Member
    Posted 8 years ago #

    Welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic