Advertise Here

Author Topic: Group Post Color help...  (Read 921 times)

0 Members and 1 Guest are viewing this topic.

Offline Inferno-Legion

  • SMF For Free Member
  • *
  • Posts: 54
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Group Post Color help...
« on: July 15, 2010, 10:17:43 am »
Forum Url: http://www.ILsupport.smfforfree3.com
I'm wondering if there is a way to just have the color on the post... Take a look at a post if you want...
Thanks,
          Inferno-Legion

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: Group Post Color help...
« Reply #1 on: July 15, 2010, 11:10:54 am »
explain what you mean... do you mean like here?

Or when a group posts, there post color is different?
<--- Donate to SMF For Free! :D

Offline Inferno-Legion

  • SMF For Free Member
  • *
  • Posts: 54
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: Group Post Color help...
« Reply #2 on: July 15, 2010, 01:47:48 pm »
Ok like on my forums.. I have a color set up for the staff.. But the color shows up everywhere there is text.. I'll show you a screen: How do I get rid of the extra color and just have the color around the post?
Thanks,
          Inferno-Legion

Offline Seldom Fail

  • Helpers
  • *
  • Posts: 2082
  • Helping for 3 years! :)
    • View Profile
    • My Site!

  • Total Badges: 26
    Badges: (View All)
    Sixth year Anniversary Fifth year Anniversary Apple User Search Poll Voter
Re: Group Post Color help...
« Reply #3 on: July 15, 2010, 01:56:06 pm »
hmmm... I don't think there's a way to fix that. Can you post the code you used?
<--- Donate to SMF For Free! :D

Offline Inferno-Legion

  • SMF For Free Member
  • *
  • Posts: 54
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 50 Posts
Re: Group Post Color help...
« Reply #4 on: July 15, 2010, 01:58:18 pm »
Sure:
Code: [Select]
<script>
if (location.href.match("topic,")){
var postColor = new Array()
postColor[postColor.length] = ["Founder","gold"]
postColor[postColor.length] = ["MCM","gold"]
postColor[postColor.length] = ["Moderation","green"]

for(f=0;f<postColor.length;f++){
$("tbody:contains(" + postColor[f][0] + ")").each(function(){
$(this).addClass(postColor[f][0]+"Class");
});
document.write("<st"+"yle>." + postColor[f][0] + "Class{background-color: " + postColor[f][1] +";}</st"+"yle>")
};};
</script>
Thanks,
          Inferno-Legion

 

Related Topics

  Subject / Started by Replies Last post
18 Replies
18691 Views
Last post August 16, 2010, 12:28:58 am
by Inferno-Legion
3 Replies
1500 Views
Last post March 05, 2008, 03:00:11 pm
by Mystic_kid2k6
5 Replies
2698 Views
Last post May 07, 2009, 06:13:32 pm
by 4markie
3 Replies
1654 Views
Last post July 29, 2009, 01:44:16 pm
by 4markie
3 Replies
3081 Views
Last post December 05, 2011, 07:34:46 pm
by simply sibyl