Home>Support>Customize Ajax Comments Box

Customize Ajax Comments Box

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

How do I change the width and height of the Ajax Comment box. I upgraded the theme but am not seeing difference on the visual part of it. I would like to change the default size of the Comment box along with the default text

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>  

What is the CSS code that controls the size of the comment box and where can I change the text.

Thanks for the help

URL: http://www.thebabynameslist.com/meaning-of-Greg/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 months ago Daniel
    Hi, I Work Here

    Hi Admin Thebabynameslist

    You can fix/change this with some custom CSS. If you navigate to Appearance > Custom CSS, you’ll get our custom CSS editor. Just add the following code.

    
    #commentform input, #commentform textarea {
      width:auto !important;
    }
    
    #commentform label {
    font-size:16px !important
    }
    
    #commentform .form-allowed-tags, #commentform .form-allowed-tags code, #commentform .comment-notes {
      font-size:12px !important
    }
    

    You can adjust the size in px there to meet you requirements.

    Let me know if that works out for you

    Cheers

  2. 10 years, 3 months ago admin @thebabynameslist.com

    Thanks for the quick help Addo. Now I think I was really looking for comment_form($comments_args) parameters.

    The CSS code pointed me to the right direction and I have used the below code for our purpose.

    #commentform input, #commentform textarea {
      width:auto !important;  
    }
    
    #commentform .form-allowed-tags, #commentform .form-allowed-tags code, #commentform .comment-notes {
    display:none;
    }
    
    

    One of the questions I have is — Will these Custom CSS be wiped out the next time the Vantage theme is upgraded.

    I am currently using a child theme to inherit all Vantage functionality.

    Or do I need to put these in my child theme styles.css to retain them during upgrades

    Please let me know and thanks again for such quick support !

    Best Regards!
    admin for http://www.thebabynameslist.com

  3. 10 years, 3 months ago Daniel
    Hi, I Work Here

    Hi Admin @thebabynameslist.com

    If you are placing your css here Appearance > Custom CSS, it will not be lost during theme updates. Secondly, always ensure if your want to make changes to theme files, you do it in the child theme as you are already doing :-)

    (As a rule of thumb its always to have a complete backup of your site somewhere else other the hosting server)

    All the best in developing your site and always feel free to open a new thread whenever you require support

    Cheers

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More