5 replies
  • WEB DESIGN
  • |
OK I've spent all day on this one and obviously I'm not going to find the missing whatever.

I am trying to change the color of Post titles. I'm in the css file for the site and I've identified the location for the h1, h2, h3 tags i.e. ".post h1, .post h2, .post h3." I've even determined that the h2 is the one that seems to style the post tile If I give it a font-size of 56px it displays a 56 px font. But no matter what I do I cannot give it a color. I've been poking around at this all day and it simply will not take a font color, i.e. "color:#00ff00;"

Can anyone tell me if there is some other dependency or inheritance that I am missing here?
#css #post #title
  • Profile picture of the author wfcheapseo
    Hi,
    Please show me your site.

    Thanks
    Monzu
    {{ DiscussionBoard.errors[4138718].message }}
    • Profile picture of the author Sire
      It would be very hard to give a definitive answer without knowing what theme you're using as almost every theme works differently.

      I used to tear my hair out adjusting themes trying to get it to look the way I wanted to. I once tallied up the man hours I wasted and it added up to hundreds of dollars. That is when I decided I would purchase a professional theme that would work straight out of the box.

      The first one I tried was Thesis and that turned out to be such a disappointment. Then I settled on my current theme and fell in love with it. I now use it for all my blogs except the one using Thesis, heck I paid for it so I may as well use it. With this theme I can change almost anything with a click of a mouse.
      {{ DiscussionBoard.errors[4140094].message }}
  • Profile picture of the author ZuThemes
    Try it like this: "color:#00ff00!important;"
    {{ DiscussionBoard.errors[4140130].message }}
  • Profile picture of the author SteveJohnson
    Originally Posted by ronc0011 View Post

    OK I've spent all day on this one and obviously I'm not going to find the missing whatever.

    I am trying to change the color of Post titles. I'm in the css file for the site and I've identified the location for the h1, h2, h3 tags i.e. ".post h1, .post h2, .post h3." I've even determined that the h2 is the one that seems to style the post tile If I give it a font-size of 56px it displays a 56 px font. But no matter what I do I cannot give it a color. I've been poking around at this all day and it simply will not take a font color, i.e. "color:#00ff00;"

    Can anyone tell me if there is some other dependency or inheritance that I am missing here?
    If the post titles are on a page where they're displayed as links, you'll need to style the 'a' that's nested within the header tags. Without seeing your theme or styleshheet, I can only guess where the color is set initially, but the following ought to give you some control:
    Code:
    h2.post-title a { color: #whatever }
    h2.post-title a:hover { color: #diffcolorforhover }
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[4140411].message }}
    • Profile picture of the author ronc0011
      Thanks guys, I appreciate your help. I finally figured it out though not the actual nuts and bolts but after all that time it hit me that I could probably do it in the Socrates admin... DUH!!!

      Still don't know where Socrates makes those changes but for now that's OK.
      {{ DiscussionBoard.errors[4142541].message }}

Trending Topics