Is there a way to display (css and html) in a different way the "reply" form and the main "comment" form?
2 Answers
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.
-
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!– AndycapMay 10, 2011 at 20:34
Sorry, but: No, it's exactly the same form, just placed somewhere else via JavaScript.
-
3Well, 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. May 10, 2011 at 19:17 -
Smart, Jan! Works even better with
.comment #comment { /* whatever style definitions */ }
– kaiserMay 10, 2011 at 19:21 -
.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?