WordPress.org

Ready to get started?Download WordPress

Forums

How to change the width of comment box of twenty twelve child theme ?? (2 posts)

  1. mithunbaiju
    Member
    Posted 1 year ago #

    I wanted to change the width of the comment box in twenty twelce child theme because its looking very odd. I have tried the following codes but nothing is working:

    #respond form input[type="text"],
    #respond form textarea {
    	-moz-box-sizing: border-box;
    	box-sizing: border-box;
    	font-size: 12px;
    	font-size: 0.857142857rem;
    	line-height: 1.714285714;
    	padding: 10px;
    	padding: 0.714285714rem;
    	width: 100px;
    }

    Can any one help me. Help is appreciated.

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi mithunbaiju,

    Your style.css line 1291 reads:

    #respond form input[type="text"], #respond form textarea {
        -moz-box-sizing: border-box;
        font-size: 0.857143rem;
        line-height: 1.71429;
        padding: 0.714286rem;
        width: 100%; /*change this value*/
    }

    To change width: change the value of width:100%;
    To change other values such as height, add desired elements, and the desired value. e.g. height:300px;.

Topic Closed

This topic has been closed to new replies.

About this Topic