This is not showing up as a button on my wordpress site, it works as one (Submit comment shows as link), but how do I create the button within this code? <p> <p><a href="#" onClick="javascript:initGateway(); return false;">Submit your Comment</a> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> Thanks!
Hello, I don't understand what you want to do here... to make a button you just have to use <input type="submit" value="Submit" name="button_name_here"> Please explain I'll be glad to help. Best Regards.
upload your theme file there,it use some js to post the form.so need know the details of the html structure and js
you can do this Only if Javascript is Enabeled : <span onclick="document.myform.submit()">Submit your comment</span> or with CSS : <input type="submit" value="Submit your comment" class="text_button"> CSS: .text_button { border: none; background-color: transparent; padding: 0; text-decoration: underline; /* if desired */ color: #00c; /* or whatever other color you want */ } You better use the second one , normal submit button + css
Thanks guys...it's not just a normal submit button I want. I want to keep the onclick ability so a gateway pops up when they hit the submit button. Right now I have it working wiht the gateway, but there is no button. just a link...
Hello, I don't understand what you want to do here... to make a button you just have to use <input type="submit" value="Submit" name="button_name_here"> Please explain I'll be glad to help. Best Regards.
You can put your link in a div and update styles with something like #linkwrap{ padding:1px; width:100px; /* Align width and padding of the block for your text */ display:block; border:1px solid gray background:url(img/gradient.jpg) 0 0 repeat-x; } #linkwrap a{ text-decoration:none; color:#202020; } Make a simple gradient image, with height similar to div's. That will probably look like a button. But gateways are really bad, mmmkay?