Home>Support>Comment form

Comment form

hello
First I want to apologize for my English , because I’m not used to it.
As you can see , I have tried to adapt the comment box . it´s, unfortunately not quite succeeded . Is there a way to change this ?
I want to change the title text , remove the HTML tag and center the button . Also I want to add a name and e-mail field.

Many thanks in advance.

Best regards

Julia Zejfert

URL: http://www.fight-and-fitness-club.de/

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

  1. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Julia

    Would you mind telling me how you have currently modified the comment box.

    Thanks

    Magus

  2. 9 years, 2 months ago Julia

    Hi Magnus

    I tryed it on custom css.

    .comment-respond{
    background-color:#FFEFD5; text-align:center;

    }
    .comment-form-comment{
    width: 651px; height: 119px;
    }
    .comments-title-h3{ border-bottom: 2px solid #555555;
    color: #444444;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 15px;
    padding-bottom: 0;
    }

  3. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Julia

    You can add extra fields using a function in your child-theme functions file. If you let me know exactly what fields you need I can provide you with the code to add. Please include what text you would like to add for the labels od any new or existing fields.

    Magus

  4. 9 years, 2 months ago Julia

    Hi Magnus

    I looked at the side again. When I am not logged in as admin it shows the name and e-mail field. So I dont need extra fields.
    I want to change "Hinterlasse eine Antwort" in "Schreib uns Deine Meinung".

    Thanks

    Julia

  5. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Julia

    Please navigate to Appearance->Editor to open the theme file editor and select the Theme Functions file for editing.

    Add the following to the bottom of the file above the closing PHP tag if there is one.

    function my_post_comment_title( $arg ) {
    
    	$arg['title_reply'] = "Schreib uns Deine Meinung";
    	return $arg;
    }
    add_filter( 'comment_form_defaults', 'my_post_comment_title' );
    

    Save the file once done.

    Let us know how you get on

    Magus

  6. 9 years, 2 months ago Julia

    Hi Magnus

    If I add the text in the functions.php it works. But it´s the main theme. I tried to write it in the child-theme but then I only get the hole site to collaps :-)

    Thanks
    Julia

  7. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Julia

    Would it be possible for you to post the content of your child-theme functions.php file. Please post using the code tags described below the reply box.

    Thanks

    Magus

  8. 9 years, 2 months ago Julia

    Hi Magnus,

    I´ve get it. Thanks. Was a little slip of the pen :-)

    Thanks for your help.

    Julia

  9. 9 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Glad to hear you made progress on this :)

    All the best.

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