• blog4life

    (@blog4life)


    I’m trying to get my h3’s to be a different color than my a:link ‘s even though both are clickable links.

    I know this can be done, I just don’t know the correct format to include one instance and exclude the other.

    Any help would be greatly appreciated. TIA.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Could we have a link ?

    In the classic template it would be

    .storytitle a {
    color:#ff0000;
    }

    for red chars .. if that doesn’t help and you don’t want to give the link, what’s the theme ?

    Thread Starter blog4life

    (@blog4life)

    the theme is called DarkNight

    here’s a link: https://tinyurl.com/lqsg5

    I don’t think that is any different than what I have already fo rthe post title but since it is a link too, it stays the same color as all the other links.

    I want the title to be different. I tried !important to override the settings but it still didn’t work.

    .storytitle a {
    color:#ff0000;
    font-family:georgia;
    font-size:24px;
    background-color:#00ff00;
    }

    Putting that at the bottom of your css makes things look interesting.
    You might be seeing something different because you have visted that link ?

    .storytitle a, .storytitle a:visited {
    color:#ff0000;
    font-family:georgia;
    font-size:24px;
    background-color:#00ff00;
    }

    Note the a:visited addition. Could be worth a go ?

    Thread Starter blog4life

    (@blog4life)

    I’ll give it a shot, thx. I gotta go eat now though. I won’t forget to close this if it works but it probably won’t be until tomorrow. Thx again.

    Thread Starter blog4life

    (@blog4life)

    Hi again. Actually, I’m not talking about changing the link color once it is visited (to show differently than if it is not visited), I’m talking about the color of the Post titles being different than any other links I may include in the story.

    Since they are both links, they both fall under my current:

    a:link {
    color:#3D94FB;
    text-decoration:none;
    }

    (and yes, I do have a hover involved too but that doesn’t matter for what I am trying to do here)

    but I want the post titles to be overriden with this color to show differently than the other links on the page:

    h3 {
    font:bold italic 100% Verdana,Sans-serif;
    text-transform:uppercase;
    text-align: center;
    color:#25FF00;
    }

    Any ideas? TIA

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘I want post headings to be a different color than other links’ is closed to new replies.