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
Hi Julia
Would you mind telling me how you have currently modified the comment box.
Thanks
Magus
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;
}
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
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
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.
Save the file once done.
Let us know how you get on
Magus
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
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
Hi Magnus,
I´ve get it. Thanks. Was a little slip of the pen :-)
Thanks for your help.
Julia
Glad to hear you made progress on this :)
All the best.