Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Changing the footer copyright links colour in RC2

Aloittaja Cheese-Burger, maaliskuu 02, 2006, 06:55:22 AP

« edellinen - seuraava »

Cheese-Burger

Hi
Can someone help me out here with this problem.
Basically i need to change the copyright link colour at the bottom of the page, but it needs to be different from the "standard link" colour.


I thought it was a css thing and have created a smalltext2 in my css but cant find where to change the colour (its the same as my bg at the moment).
Hate code. Love burgers

Dannii

Maybe place the whole thing in a div with a custom id, and then do
#customid a {color: #red;}
#customid a:hover {color: #somethingelse;}
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Cheese-Burger

You wanna do a walk through on that ;)

My coding is about as good as my Latin  :-X
Hate code. Love burgers

Dannii

For example in the default theme, the code is <td valign="middle" align="center" style="white-space: nowrap;">
', theme_copyright(), '
</td>
Change that to <td valign="middle" align="center" style="white-space: nowrap;" class="copyright">
', theme_copyright(), '
</td>
And then add this to your theme's style.css#copyright a {color: #red;}
#copyright a:hover {color: #somethingelse;}
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Cheese-Burger

Thank you kind sir.

I`m gonna grab a coffee and have a go at this. I`ll let you know how i got on in a sec ;)
Hate code. Love burgers

Cheese-Burger

Hmmmm
I done this
                           <td valign="middle" align="center" style="white-space: nowrap;" class="copyright">
                                        ', theme_copyright(), ' <br />', tportal_version() , '
                                </td>



And this right at the bottom of the Css

#copyright a {color: #000000;}
#copyright a:hover {color: #9de0c1;}



But nothing has changed :(
Hate code. Love burgers

RyanJones

Lainaus käyttäjältä: Cheese-Burger - maaliskuu 02, 2006, 07:51:13 AP
Hmmmm
I done this
                           <td valign="middle" align="center" style="white-space: nowrap;" class="copyright">
                                        ', theme_copyright(), ' <br />', tportal_version() , '
                                </td>



And this right at the bottom of the Css

#copyright a {color: #000000;}
#copyright a:hover {color: #9de0c1;}



But nothing has changed :(

In CSS the class opperator is . so try this:


.copyright a {color: #000000;}
.copyright a:hover {color: #9de0c1;}


Cheers,

Ryan Jones
RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

Cheese-Burger

Hate code. Love burgers

RyanJones

RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Cheese-Burger

Hey, don`t be sorry. You got me to where i needed to be and i appreciate that :)
Hate code. Love burgers

RyanJones

RyanJ (Ryan Jones)

Support Web Standards!

Currently working On: Additions to the Karma system.

Advertisement: