Jump to content


- - - - -

Changing color of thread creators (authors)


  • Please log in to reply
15 replies to this topic

#1 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 01:44 AM

I would like to change the color of the username after the "Started by" please. What file and line needs to be edited?

Example:

"Topic title" in Help

Started by ASA_player_7, 09 Jul 2011


Want to change the color of the thread creator in the thread list of all sections.

#2 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 01:51 AM

Your board URL in your profile is showing as invalid

Please update this, thanks! :)

Posted Image


#3 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 01:59 AM

fixed.

#4 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 02:01 AM

Did you want to change the color of all members' names in that part of the page to be the same color? Or did you want it to be the same color as their user group?

Posted Image


#5 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 02:04 AM

All the same color please. Right now its hard to pick the name out quickly and it's making modding slightly harder. Just need to seperate the name out from everything else with a color change regardless of who it is.

Thanks.

#6 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 02:09 AM

In the CSS, you can find this:

.desc.blend_links a {


It might have an effect on other parts of the board that use that same class, but in your case, I think it would only be in situations like the one you posted as an example, so it would work in your favor!

Posted Image


#7 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 02:13 AM

Which CSS file?

#8 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 02:19 AM

ipb_styles.css

Sorry, forgot to mention that! Woops!

Posted Image


#9 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 02:22 AM

Results:

"Topic title" in Help

Started by ASA_player_7, 09 Jul 2011

It actually looks pretty good, might leave it but not what I was looking for. Any other ideas?

#10 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 02:37 AM

Woops, sorry, I'm not doing this live on a board, so forgive my mistake.

Instead of changing the color of the class I mentioned above, BELOW that whole class in the CSS (meaning, after the closing } tag)

Add this:
.blend_links a {
color: #000000 !important;
}

Change 000000 to the color of text you want.

Posted Image


#11 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 02:49 AM

Good and bad.

When I click on "View new Content" I get:

"Topic title" in Help

Started by ASA_player_7, 09 Jul 2011

Also any tags that might be in the info are colored.

But when I got into each section I get this:

"Topic title"

Started by ASA_player_7, 09 Jul 2011

Edited by pokerking, 29 January 2012 - 02:55 AM.


#12 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 03:01 AM

Ok this should work. I just tested it on my board:

Instead of the code I told you to add in my last post, add this INSTEAD:


.desc.lighter.blend_links a {
color: #000000;
}

Change 000000 to the color you want.

Posted Image


#13 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 29 January 2012 - 03:25 AM

99.9% PERFECT! Thank you kindly sir.

Tags are still colored but regardless I count this as a success.

#14 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 29 January 2012 - 04:04 AM

Yeah I figured there would be a slight inconvenience. The only other way would be to hard code it in the HTML, which I also tried on my end, and couldn't get it acting right, so CSS was the cleanest, and best working method I came up with. Hope that's alright!

Posted Image


#15 pokerking

pokerking

    Novice

  • Members
  • PipPip
  • 8 posts
  • IPB Version:v3.2.x

Posted 30 January 2012 - 03:11 AM

I thought hard coding it into the output from DB calls was going to be the only solution. This works well for my needs. Much better then it was anyway. Tags and dates/times all seem to have taken on the color but I don't know if I'll be leaving tags on yet so it's no biggie.

If anyone else has done a similar mod that targets just the authors names I wouldn't mind hearing it though. The more I know the better.

#16 Bitter

Bitter

    Final Prestige, LLC Owner

  • Support Staff
  • PipPipPipPipPipPipPipPipPipPip
  • 2,687 posts
  • Location:Connecticut
  • Real Name:Dustin Schriffert
  • IPB Version:v3.3.x

Posted 30 January 2012 - 03:25 AM

I think the only other time I've seen the name (just the name only) changed in that place was when people used the mod to change the user color to the color of their user group, but that is global, and applies to their name everywhere, and only changes it to the color of the group they are in. That's the only other option I can think of right now.

Posted Image





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users