WordPress.org

Support

Support » Plugins and Hacks » Styles » [Resolved] Centering Header Image

[Resolved] Centering Header Image

  • Greetings,

    First of all, I love this plugin! It solved so many problems for me without having to get dirty in dabbling with all the CSS code.

    I do have one question, though: is there anyway to center my above header image so that it fills out the entire top space? I have tried checking each one of the alignment options (center, left, right, none) without any success.

    Please help!

    Here is my site:
    development.peacepassers.org

    I appreciate any help that I can get. Thanks!

    http://wordpress.org/extend/plugins/styles/

Viewing 1 replies (of 1 total)
  • Plugin Author pd

    @pdclark

    Hi Markd23,

    Thanks for your kind words about the plugin. I’m happy to hear it’s been helpful for you. Unfortunately, the plugin doesn’t have any settings right now for centering and resizing images automatically — that involves doing quite a few things at once, so the best solution is usually to resize your image so it fits the available space before uploading it to WordPress.

    It looks like you may have taken that strategy on your site already. For anyone else who is trying to do similar things, you might try these CSS approaches:

    /* Center an image */
    .some-image-class { display:block; margin: 0 auto; }
    /* Expand an image to fill its parent's width */
    .some-image-class { display:block; width:100%; height: auto; }

    Best of luck with the rest of your site!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Centering Header Image’ is closed to new replies.
Skip to toolbar