Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Styling Comment Form
Hi guys,
I have searched the forums but to no avail. I am currently designing the comment form but am having some problems with textpattern’s output. At present I have:
comment_form (snippet)
<txp:if_comments_preview>
<input type="submit" name="preview" value="Preview" title="Preview your comment" class="preview" />
<input type="submit" name="submit" value="Submit" title="Submit your comment" class="submit" />
<txp:else />
<input type="submit" name="preview" value="Preview" title="Preview your comment" class="preview" />
</txp:if_comments_preview>
This makes the form function correctly, but then I have the button’s value on the button itself [image]. Removing the text between value=""
displays the buttons correctly, but then the form no longer functions [image].
I’ve tried using something like style="display:none;"
but this hides the entire button. Any ideas? Also, how does one remove the <div class="comments-wrapper">
div from the comment form?
Offline
Offline
Re: Styling Comment Form
Thanks, that seems to have done the job. Anyone know how to get rid of the <div class="comments-wrapper">
which is wrapped around the form? I’ve tried setting wraptag=""
in several places but am still none the wiser as to which form to amend. Any ideas?
Offline
Offline
Pages: 1