Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've discovered that all comments are displayed as if they are owned by the currently logged in user. In other words, the background of a comment should be #111111 if the user did not post it. However, the background image of the site is shown on all comments (bg.jpg).
Patch:
template.php
88,90d87
< if ($node->name == $comment->name) {
< $output .= 'node-author';
< }
92c89
< $output .= ' mine';
---
> $output .= 'node-author';
css/modules.css
138,143d137
< #comments .mine {
< color: #eee;
< background: transparent;
< border: 3px solid #776;
< }
<
Comments
Comment #1
Sungsit CreditAttribution: Sungsit commentedThank you igrok, I'll check this out when I have time.
Comment #2
ShutterFreak CreditAttribution: ShutterFreak commentedThis is strange.
It seems to work correctly on my site with Colourise 6.x-2.1 installed.
The CSS also correctly first displays the rules for '.mine', and only then for '.node-author'. See the order in which they appear in 'modules.css'.
Maybe I am missing something?
Comment #3
yashadev CreditAttribution: yashadev commentedThe issue is 3 years old now, and there's no explanation of how to reproduce the problem. Feel free to open up if the issue comes up again.