Support » Themes and Templates » Post Title Color

  • Hello all,

    this is a basic question that I had trouble finding how to do. How do you change the post title’s (every entry) color? It’s a h2 class of content, I believe but couldnt locate the correct attribute to mod

    Thanks for help me out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Generally, the problem is that the post title is an h2, but it’s also a link. So you have to set the CSS to something like .content h2 a {color: newcolor} also keep in mind you will need to edit the .content h2 a:hover, etc.

    thanks for the reply miklb, where exactly would you place the code (I’m after a black title yet blue links, and now all my titles are blue since I made the links blue):

    .content h2 a {color: #000000}
    .content h2 a:hover {color: #000000}

    I wasn’t entirely able to make it work due to placement I’m guessing.

    The placement of the code isn’t that important, however, grouping simular items makes it easier later on, i.e. headings grouped together and so on.

    if it’s not working, try removing the .content, and just use h2 a {color:#000} and h2 a:hover {color:#000}, this will change all the h2 links on the entire website. Also make sure you don’t have any other h2 a statements, with some other colour setting.

    worked, thanks a ton eridan!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Title Color’ is closed to new replies.