Centering my custom header image

  • Unknown's avatar

    I need help centering the header image I created. Currently it just sits on the left side of the blog and it does not look the way I would like it to. I have the css option, but have never used it and so far I have not found a solution to this problem.

    Please help!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there, to center your header image, go to Appearance > Customize > CSS, delete the informational text and add the following CSS.

    .container_24 .grid_12 {
        width: 100% !important;
    }
    #headimg {
        max-width: 470px;
        margin-right: auto;
        margin-left: auto;
    }
  • Unknown's avatar

    That worked! Thank you!!

  • Unknown's avatar
  • Unknown's avatar

    I love the theme I chose and I don’t want to give it up! But…it’s restrictions on the size of my header image is keeping me from creating the look I am hoping for. Does CSS give me the option to increase the size of the header?

    The blog I need help with is taggfundraising.wordpress.com.

  • Unknown's avatar

    Info way has a flexible header design and you can upload and use any size header you desire. Prepare the header image, go to Appearance > Header and upload it and click the “Skip Cropping and Publish Image as Is” button. I would suggest not going over 950px in width, which is the width of the inner header/content container.

  • Unknown's avatar

    Oh yeah, and remove the CSS I gave you earlier if you go with 950px in width. If you go less than that, leave the code in, but change the 470px max-width value to match the width of your image in the following CSS.

    #headimg {
        max-width: 470px;
        margin-right: auto;
        margin-left: auto;
    }
  • The topic ‘Centering my custom header image’ is closed to new replies.