Problem with highlighting of nested comments
-
I have implemented a new theme based on Sandbox-10 and the Diurnal stylesheet, with my own modifications. My problem is that Diurnal introduced an attractive method of highlighting comments made by the author of the post, but this highlighting also applies to any further comments nested within one by the author.
I can see that bypostauthor applies to all the nested comments. Is there any way of stopping it applying to comments that are not by the post author.
I have an example in the 4th comment on this post.
The blog I need help with is: (visible only to logged in users)
-
I would suggest contacting the person who did the stylesheet skin you are using. They probably have much more knowledge of it than the collective knowledge of the volunteers here (which is minimal).
-
<B>thesacredpath</b>
Thank you for your prompt response. I have tried, without success, to contact Ms Smith on another matter.
As I see it, it is more a sandbox-10 issue. The only relevant line in the stylesheet is
li.bypostauthor div.comment-author { background:#f0f0f0 url('http://bigdave44.files.wordpress.com/2009/05/starbk.png') top left repeat-x; }Presumably the underlying problem is that nested comments are more recent than both the theme and the stylesheet.
-
The problem is that it probably isn’t possible without access to the underlying theme PHP script files since there would have to be some sort of if-then loop to determine the author of each comment in the nested thread.
We do not have access to the underlying theme files since this is a multi-user platform and we all share the same wordpress and theme files.
-
Thanks again.
I did rather expect the answer that you have given, but I had hoped there might be something else!
-
You’re welcome, and I can’t think of anyway to do it without access to the PHP files and the database tables.
- The topic ‘Problem with highlighting of nested comments’ is closed to new replies.