Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change color of e-mail link

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #45125
    PixelPascal
    Participant

    Hello,

    I like to change the color of the e-mail link on this page: http://www.jhte.nl Also the hover-color needs to be changed.

    Most of the times the theme let you do this very easy in the theme-options…This does not…

    I hope somebody can tell me how to!? Maybe with a CSS code?

    Thank you!

    #136602
    PixelPascal
    Participant

    Hello Melindrea,

    Thank you for responding so fast ! Iguess this is not the complete code?

    Br,

    Pascal

    #136603
    Paulie_D
    Member
    #136604
    unasAquila
    Participant

    @Melindrea has given you the whole code she can’t tell you what [colors](http://www.colorpicker.com/) to use that up to you if your not sure of how that works

    .mail a {
    color: blue;
    }

    .mail a:hover {
    color: blue;
    }

    as you can see after the semi-colon you can declare the [color](http://www.huecode.com/) you want using several methods

    #136605
    PixelPascal
    Participant

    Paulie,

    I added this code: a[href^=”mailto”] { color: blue; } But it is not having effect…

    #136606
    PixelPascal
    Participant

    This code also does not have any effect: .mail a {
    color: blue;
    }

    .mail a:hover {
    color: blue;
    }

    #136607
    PixelPascal
    Participant

    .mail a {
    color: blue;
    }

    .mail a:hover {
    color: blue;
    }

    #136610
    wolfcry911
    Participant

    it needs to be more specific than the current rule, use this:

    .sidebar_content .mail a {
    color: blue;
    }

    #136612
    PixelPascal
    Participant

    Thanks wolfcry911 works !!

    #136614
    PixelPascal
    Participant

    For the hover color i think i do not use the right code:

    #136615
    PixelPascal
    Participant

    .sidebar_content.mail a:hover {
    color: blue;
    }

    #136616
    PixelPascal
    Participant

    .sidebar_content.mail a:hover {
    color: blue;
    }

    #136617
    wolfcry911
    Participant

    you need a space between the first two classes

    #136618
    PixelPascal
    Participant

    between where?

    #136619
    CodeGraphics
    Participant

    .sidebar_content .mail a:hover {
    color: blue; }

    Between .sidebar_content and .mail

Viewing 15 posts - 1 through 15 (of 20 total)
  • The forum ‘CSS’ is closed to new topics and replies.