Jump to content


How to change font colors without affecting other fonts?


8 replies to this topic

#1 Possum

    Member

  • 33 posts
  • Joined: August 20, 2011
  • 9 topics
  • Local time: 01:43 PM
  • Zodiac:Scorpio
  • OS:Windows XP
  • Country:
Offline
  • Time Online: 11h 18m 24s

Posted 15 September 2011 - 01:39 PM

I'd like to change the font colors of the author's name above the post, and the post date in the post itself. The trouble is when I change the colors of these it also changes the colors of other fonts governed by the same code. What code mods would enable me to change just the colors of these fonts?

Many thanks!

#2 Broni Re: How to change font colors without affecting other fonts?

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 07:43 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 9h 21m 4s

Posted 15 September 2011 - 03:06 PM

I tried several options, but there too many items connected to the very same CSS settings so I don't really see any easy way to do it.

#3 Possum Re: How to change font colors without affecting other fonts?

    Member

  • 33 posts
  • Joined: August 20, 2011
  • 9 topics
  • Local time: 01:43 PM
  • Zodiac:Scorpio
  • OS:Windows XP
  • Country:
Offline
  • Time Online: 11h 18m 24s

Posted 16 September 2011 - 06:57 AM

Looks like I'm out of luck, then. Thanks anyway for taking a look at it for me.

I wish IPB's boffins had made some things a little more customize-friendly.

#4 Broni Re: How to change font colors without affecting other fonts?

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 07:43 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 9h 21m 4s

Posted 16 September 2011 - 02:31 PM

Well to be fair to achieve what you want there would have to be a separate "class" for every single element of the board.
That will never happen as the board code would be "gigabytes" long.

#5 Possum Re: How to change font colors without affecting other fonts?

    Member

  • 33 posts
  • Joined: August 20, 2011
  • 9 topics
  • Local time: 01:43 PM
  • Zodiac:Scorpio
  • OS:Windows XP
  • Country:
Offline
  • Time Online: 11h 18m 24s

Posted 17 September 2011 - 12:24 AM

The reason I wanted to change the colors was that the post info details, being the same color as the post text, look as if they're part of the text at first glance. What I'll do is add a line under the post info to make its separation from the text more distinct. That should fix the problem.

#6 Broni Re: How to change font colors without affecting other fonts?

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 07:43 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 9h 21m 4s

Posted 17 September 2011 - 12:30 AM

Maybe I found something for you, but you have to check, if other fonts are not affected.

Add line in red:



Quote

.posted_info {


color: ?? !important;
padding: 0 0 10px;
}


#7 Possum Re: How to change font colors without affecting other fonts?

    Member

  • 33 posts
  • Joined: August 20, 2011
  • 9 topics
  • Local time: 01:43 PM
  • Zodiac:Scorpio
  • OS:Windows XP
  • Country:
Offline
  • Time Online: 11h 18m 24s

Posted 21 September 2011 - 12:31 PM

Well, what do you know, it worked!

Thanks, Broni.

#8 dmacleo Re: How to change font colors without affecting other fonts?

    Member

  • 82 posts
  • Joined: March 14, 2011
  • 12 topics
  • Skin: Delicate Blue
  • Local time: 10:43 PM
  • Zodiac:Taurus
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 17h 27m 47s

Posted 21 September 2011 - 01:53 PM

I have not had a chance to check but I thought adriano had done a hook for this.
Dave Macleod
www.davemacleod.net
Conservative Postings.

#9 Broni Re: How to change font colors without affecting other fonts?

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 07:43 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 9h 21m 4s

Posted 21 September 2011 - 11:59 PM

You're very welcome :smiley_says_hello:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 15 user(s)