Viewing 7 replies - 1 through 7 (of 7 total)
  • Can you go ahead and activate it so we can see the code it produces?

    Thread Starter youngwifelife

    (@youngwifelife)

    Yes it is there. right now it is in the header right widget. I’m not sure where to put it otherwise

    Thread Starter youngwifelife

    (@youngwifelife)

    I read that you cannot have a custom header for this theme but I assume thats different than just centering the picture

    See if this will work

    .title-area {
    margin: 0;
    width: 100%;
    }
    
    .site-header .widget-area {
    width: 100%;
    }

    Thread Starter youngwifelife

    (@youngwifelife)

    That centers the title but not the picture. Is there a way to embed the picture in that code?

    Here’s a little trickery to make the title transparent on top of the image so it looks like the image is clickable.

    .site-title {
        background: url(http://youngwifelife.com/wp-content/uploads/2014/01/YWL-banner1.jpg);
        background-repeat: no-repeat;
        background-position: center;
        height: 315px;
        font-size: 200px;
        padding-top: 100px;
        margin-top: 0;
    }
    
    .title-area a {
        color: transparent !important;
    }
    Thread Starter youngwifelife

    (@youngwifelife)

    That worked perfect! And you answered my next question. Thank you so much!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Center header image’ is closed to new replies.