Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is there a way to display (css and html) in a different way the "reply" form and the main "comment" form?

share|improve this question
    
I think you can target it with a specific CSS rule (.commments .comment #respond), and then you can hide or show fields that are otherwise visible or hidden. So changing the HTML is difficult (but not impossible if you switch the core JS file with your own), but maybe you can do everything you want in CSS? Can you specify what you want to do? –  Jan Fabry May 10 '11 at 19:19
add comment

2 Answers

up vote 5 down vote accepted

Well, it is the same form, but it is moved to another place in the DOM tree. So you could create one style for just .comments #respond, and one for .comments .comment #respond for the moved reply form.

share|improve this answer
    
Yes! For me the working one is li.comment #respond{ yourstyle } (had to add a .li). Was really under my eyes! Will look better at firebug next time! I'm learning so much stuff here...thanks Jan! –  Andycap May 10 '11 at 20:34
add comment

Sorry, but: No, it's exactly the same form, just placed somewhere else via JavaScript.

share|improve this answer
3  
Well, it is the same form, but it is moved to another place in the DOM tree. So you could create one style for just .comments #respond, and one for .comments .comment #respond for the moved reply form. –  Jan Fabry May 10 '11 at 19:17
    
Smart, Jan! Works even better with .comment #comment { /* whatever style definitions */ } –  kaiser May 10 '11 at 19:21
    
I moved it to an answer - feel free to get your Vox Populi badge! –  Jan Fabry May 10 '11 at 19:28
    
@Jan Fabry - haha! Thanks for the heads up! –  kaiser May 10 '11 at 19:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.