This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Comment form

Resolved 9 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

9
  1. Magus Staff 10 years, 7 months ago

    Hi Julia

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

    Thanks

    Magus

  2. Julia 10 years, 7 months ago

    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. Magus Staff 10 years, 7 months ago

    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. Julia 10 years, 7 months ago

    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. Magus Staff 10 years, 7 months ago

    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. Julia 10 years, 7 months ago

    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. Magus Staff 10 years, 7 months ago

    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. Julia 10 years, 7 months ago

    Hi Magnus,

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

    Thanks for your help.

    Julia

  9. Andrew Misplon Staff 10 years, 7 months ago

    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.

Have a different question or issue?

Start New Thread