6

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

1
  • 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, 2011 at 19:19

2 Answers 2

5

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.

1
  • 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, 2011 at 20:34
0

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

3
  • 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, 2011 at 19:17
  • Smart, Jan! Works even better with .comment #comment { /* whatever style definitions */ }
    – kaiser
    May 10, 2011 at 19:21
  • I moved it to an answer - feel free to get your Vox Populi badge!
    – Jan Fabry
    May 10, 2011 at 19:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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