Centering header image

  • daviddoria


    Is there a way to center the header image if it is not the standard width?


    Kenneth John Odle



    .header-img {
    margin-left: auto;
    margin-right: auto;

    I’m not at home, so I’m not sure of the exact code. Firebug will help you nail it down.



    After some fooling around this seems to work:

    .header-img {

    position: static;

    display: block;

    margin-left: auto;

    margin-right: auto;


    Does that make sense?



    It looks to me that your header image is the exact width of your website. Is this what you are going for?

    EDIT: Sorry, I clicked the wrong link.

    Yeah, that looks good to me.

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

  • You must be logged in to reply to this topic.
Graphene Themes Forum