Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: BellGab.com on November 06, 2008, 07:30:17 PM

Title: "Last Posts of User" Link Color
Post by: BellGab.com on November 06, 2008, 07:30:17 PM
Hi.

When you click to show recent posts of a user on my forum, the navigation link text is black, matching the background, rendering it invisible.

To see what i'm talking about, click here:
http://georgenoorysucks.com/index.php?action=profile;u=142;sa=showPosts

I'd like to know if someone can tell me where to change the color.  I'm assuming it's in style.css but I have no idea where it would be beyond that.

Thanks for any help.

edit:  using 2.0b4
Title: Re: "Last Posts of User" Location Link Color
Post by: ascaland on November 06, 2008, 09:55:18 PM
Quote from: GeorgeNoorySucks.com on November 06, 2008, 07:30:17 PM
Hi.  I hope the title of this topic doesn't throw people off.

When you click to show recent posts of a user on my forum, the navigation link text is black, matching the background, rendering it invisible.

To see what i'm talking about, click here:
http://georgenoorysucks.com/index.php?action=profile;u=142;sa=showPosts

I'd like to know if someone can tell me where to change the color.  I'm assuming it's in style.css but I have no idea where it would be beyond that.

Thanks for any help.

edit:  using 2.0b4

It is in your Style.CSS, if not, it has to be in one CSS file or another.
Title: Re: "Last Posts of User" Location Link Color
Post by: Sarge on December 03, 2008, 11:55:58 PM
Hi,

have you managed to do the change? If not, note that the link you have posted cannot be accessed by guests, so you need to post a temporary username and password for a regular account (not admin!) so that we can see the issue.
Title: Re: "Last Posts of User" Location Link Color
Post by: BellGab.com on December 04, 2008, 10:41:30 AM
Quote from: Sarge on December 03, 2008, 11:55:58 PM
Hi,

have you managed to do the change? If not, note that the link you have posted cannot be accessed by guests, so you need to post a temporary username and password for a regular account (not admin!) so that we can see the issue.
no i haven't changed it yet.  sorry you couldn't view the problem.  i have enabled guests to view recent member posts now.

easiest way to get there is to click any user's post count and it links to recent posts.

cheers.
Title: Re: "Last Posts of User" Link Color
Post by: Sarge on December 04, 2008, 11:02:34 AM
In Themes/default/style.css, find:


/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
color: black;
font-style: normal;
text-decoration: underline;
}


and delete the "color: black;" line -- in other words, replace the above with:


/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
font-style: normal;
text-decoration: underline;
}


While you're there, you might want to delete "color: black;" from this one too:


/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
color: black;
font-size: 1em;
margin: 0;
padding: 0;
}


Leave the other instances (there should be 2 more) intact.
Title: Re: "Last Posts of User" Link Color
Post by: BellGab.com on December 04, 2008, 09:20:14 PM
Quote
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
   font-style: normal;
   text-decoration: underline;
}
you are a god.  the above quoted change fixed my problem.

i'm curious... you said that while i'm there, i should make the following change too:
Quote
/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
   color: black;
   font-size: 1em;
   margin: 0;
   padding: 0;
}
do you know offhand specifically what that would affect?

again... thank you so much.  this has really been tweaking my OCD.
Title: Re: "Last Posts of User" Link Color
Post by: Sarge on December 04, 2008, 09:54:20 PM
Quote from: GeorgeNoorySucks.com on December 04, 2008, 09:20:14 PM
i'm curious... you said that while i'm there, i should make the following change too:
Quote
/* By default set the color on these tags as black. */
h1, h2, h3, h4, h5, h6, h7
{
   color: black;
   font-size: 1em;
   margin: 0;
   padding: 0;
}
do you know offhand specifically what that would affect?

again... thank you so much.  this has really been tweaking my OCD.

Sure, look at the News box (between the login box at the top and the main nav menu). If you select that line all the way to the left, the "News: " string in front of the news should become visible. As it turns out, it's tagged with a <h3>, which is colored black... on a black background.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi34.tinypic.com%2F25p0heu.png&hash=02158efc2fd8fc81b39eb73f9286f55f93ec6006)

And... you're welcome! :)

P.S. Be sure to disable guests from browsing profiles, now that the issue is identified...
Title: Re: "Last Posts of User" Link Color
Post by: BellGab.com on December 04, 2008, 11:09:45 PM
thank you again.  very helpful.  issue resolved.