Metro Theme Entry Titles

Community Forums Forums Design Tips and Tricks Metro Theme Entry Titles

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  sido 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42103

    sido
    Participant
    Post count: 2

    Does anyone know how to get my single post titles (http://www.youmeandfivebucks.com/free-to-be-me/) and page titles (http://www.youmeandfivebucks.com/about/) to have a white background for the text like my homepage titles (http://www.youmeandfivebucks.com/) and sidebar widget titles have? I’ve been driving myself crazy trying to figure it out–any help would be greatly appreciated!

    http://www.youmeandfivebucks.com
    #42105

    braddalton
    Participant
    Post count: 10254

    Line 1036 of your child themes style.css file you could change the background to something like this:
    [css]
    .page h1, .single h1, h2 {
    background: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    }
    [/css]

    Remove the selectors you don’t want to apply the changes too.


    #42108

    sido
    Participant
    Post count: 2

    Thanks, Brad. But that CSS actually is making the whole line white. What I’m trying to do is keep the stripes in the title area and only have a white background where the text is (like the post title “Free to Be Me” on my homepage http://www.youmeandfivebucks.com).

    I use this code:

    `.page h1,
    .single h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
    background: url(images/lines.png);
    text-align: center;
    line-height: 1.2;
    margin-bottom: 16px;
    margin-bottom: 1rem;
    }
    .entry-title a {
    background-color: #fff;
    line-height: 1;
    padding: 0 8px;
    padding: 0 0.5rem;
    }`

    …to get the text with white background for my homepage post titles, but the white background doesn’t show up on my single post pages and About/Contact pages.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.