This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Color of user name
#1

Hi,
I have been working on this for 2 days now and my problem is lack of knowledge with code.

I want to change the color of the user name in the comment text box but cannot find it. I looked for it with Firebug but there is no color value in that part of the code that was highlighted. So can someone tell what I need to edit.

Robert...
Reply
#2

Hi,

You can change that in /comments/css/stylesheet.css. Look for:

Code:
.name_with_website_text {
font-weight: bold;
text-decoration: none;
}

.name_without_website_text {
font-weight: bold;
}

The "name_with_website" part is for when the name is hyperlinked with the user's website address, and the "name_without_website" is when it's not hyperlinked. I assume you only want to change the colour of the non-hyperlinked names. To do that, try something like this:

Code:
.name_without_website_text {
font-weight: bold;
color: red;
}

Have you completed the interview?
Reply
#3

(07-Feb-2012, 12:53 PM)Steven Wrote:  Hi,

You can change that in /comments/css/stylesheet.css. Look for:

Code:
.name_with_website_text {
font-weight: bold;
text-decoration: none;
}

.name_without_website_text {
font-weight: bold;
}
<SNIP>

Hi Steven

Thank you for your help but it did not work. It seems that the colors was being picked up from the page defaults. So I have achieved what I wanted by changing these.
This will probably make programers cringe but I have no knowledge of HTML so my pages are written with a WYSIWYG editor and the Commentics code embedded. It works but I can see problems.

Thanks
Robert...
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
21-Feb-2019, 09:02 AM
Last Post by boonie67
08-Sep-2018, 03:05 PM
Last Post by Gabe
28-Jan-2013, 12:17 PM
Last Post by jbsmith
09-Mar-2012, 09:50 PM
Last Post by Sn0w
02-Mar-2012, 12:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)