Support » Theme: Twenty Eleven » Change single post title color & center

  • Resolved rdennard

    (@rdennard)


    I have looked all over but can’t figure out how to change the appearance of the title for a single post for “Twenty Eleven.” I want to change it from black to red. I also want it to center. I might want to change single post title fonts in the future.

    I have searched the forums and found this resolved for a couple of themes but not this one. When I try some of those ideas, they don’t work… or worse.

    Here’s the link to the actual page I want to change.
    http://www.memoriesofnakedfanny.com/HCMTrailRide/uxos/

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jarret

    (@jarretc)

    Hi, you can use this CSS in Appearance->Customize->Additional CSS

    .postid-549 #content .entry-title {
        color: red;
        text-align: center;
    }

    If you want to modify single post titles across the entire site, you would target those with the following CSS

    .single #content .entry-title {
        CSS code here
    }
    rdennard

    (@rdennard)

    Thank you. This worked great. And now I see what I was doing wrong. The post now has the title in red and is centered.

    However, I’m not sure what you mean with the second part. This post also appears on my main page, but the text there is still black. How would I make that also appear red. I only want to do it for just this one post for now.

    Jarret

    (@jarretc)

    You would use this for the homepage

    .home .post-549 .entry-title a {
        color: red;
    }
    rdennard

    (@rdennard)

    Jarret – You are a wizard. It worked perfectly and you made it look so simple.

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.