Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Aiheen aloitti: skarphace - heinäkuu 26, 2006, 12:19:16 AP

Otsikko: Copyright Class
Kirjoitti: skarphace - heinäkuu 26, 2006, 12:19:16 AP
It would be nice to have the copyright on a different CSS class. 

I wanted the copyright links to be a different color then the rest of the links because it just wasn't readable or nice looking.  So, I went through a hell of a time incorporating style="color: #000000;" into the copyright output.  And now that I modified it, I'm sure once I update to the next version it will blow up because it thinks I pulled out the copyright.

Granted this could allow a user to make the notice the same color as the background but I for one believe that helping out the loyal users is more important than hastling the unloyal.

So even if class="copyright" or something like that could be added to the anchor tags, it would help greatly.
Otsikko: Re: Copyright Class
Kirjoitti: Dannii - heinäkuu 26, 2006, 12:21:00 AP
Just use better CSS selectors. Put the copyright statement in a div, and then make your CSS something like:
#copyright a {
color: #000;
}
Otsikko: Re: Copyright Class
Kirjoitti: skarphace - heinäkuu 26, 2006, 12:22:45 AP
Not a bad idea and would have saved me the last hour of work.  Thanks.

Lainaus käyttäjältä: eldacar - heinäkuu 26, 2006, 12:21:00 AP
Just use better CSS selectors. Put the copyright statement in a div, and then make your CSS something like:
#copyright a {
color: #000;
}