![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
Add a CSS Class to Comment Count on View Month Page
Title:
Add a CSS Class to Comment Count on View Month Page
Area:
styles
Summary:
Right now there is no CSS class for the comment count shown after each post on the View Month Page (this page and all pages like it): http://exampleusername.dreamwidth.org/2013/01/. I've had to add sort of wonky CSS to compensate for that. The CSS doesn't target anything specific so in my case it messes things up (for instance, on my DW, it results in comment count text displaying both too small and too big - yes, all at the same time - which could be my own error, but still). So my suggestion is to simply add a separate span class for the comment count on the View Month page so it can be styled independently of other elements on the page.
Description:
Right now there is no CSS class for the comment count shown after each post on the View Month Page (this page and all pages like it): http://exampleusername.dreamwidth.org/2013/01/. I've had to add sort of wonky CSS to compensate for that. The CSS doesn't target anything specific so it messes things up (for instance, on my DW, it results in comment count text displaying both too small and too big - yes, all at the same time - which could be my own error, but still). My suggestion is to simply add a separate span class for the comment count on the View Month page so it can be styled precisely and independently of other elements.
This suggestion:
Should be implemented as-is.
17 (51.5%)
Should be implemented with changes. (please comment)
2 (6.1%)
Shouldn't be implemented.
1 (3.0%)
(I have no opinion)
13 (39.4%)
(Other: please comment)
0 (0.0%)
no subject
Last span would be the new HTML, while the CSS would be
.commentcount
. I'm not forgetting anything in there, I hope.Paragraph tags are leaving me less than excited because semantics - and I'm thinking inline-blocking for any count you want on the same line as tag name, comment title (but
.echi
covers this now, I believe), and so on, but IMO p tags are OK, as long as we get more finely targeted HTML/CSS to work with. :)no subject
But I noticed looking at this again that each entry on a particular day is not in its own dd, which it should be.
The whole page would make more semantic sense if each entry was separately enclosed.
I have no idea what .echi is or what you're trying to say there, sorry.
no subject
.echi
is the CSS name for the comment count number tied to the comment hierarchy DW came up with for numbering comments, so that the first comment is 1, then 1a, then 1aa, and so on? You can explicitly turn it on here.Code example from one of my comment pages:
But I noticed looking at this again that each entry on a particular day is not in its own dd, which it should be.
Never realized that myself, will have to check it out. Thanks for the heads-up. :)
no subject