Posts: 4
Threads: 1
Joined: Feb 2012
Is it possible to have a special color for your Admin name? like the name of the admin user is different then the normal users when you comment? if there is a way to do this please post how , im sure its a quick edit in the CSS file
Posts: 2,904
Threads: 59
Joined: Jun 2010
Hi,
Open /comments/includes/functions/comments.php, find this (lines 192-194):
PHP Code:
<?php
$box .= "<span class='name_without_website_text'>";
$box .= $name;
$box .= "</span>";
Replace with this:
PHP Code:
<?php
if ($is_admin) {
$box .= "<span class='admin_name_without_website_text'>";
} else {
$box .= "<span class='name_without_website_text'>";
}
$box .= $name;
$box .= "</span>";
Then add this somewhere in your stylesheet (/comments/css/stylesheet.css):
Code:
.admin_name_without_website_text {
font-weight: bold;
text-decoration: none;
color: green;
}