Support » Fixing WordPress » How to change the width of comment box of twenty twelve child theme ??

  • 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.

Viewing 1 replies (of 1 total)
  • 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;.

Viewing 1 replies (of 1 total)
  • The topic ‘How to change the width of comment box of twenty twelve child theme ??’ is closed to new replies.