[resolved] Centering Header Image (2 posts)

  1. Markd23
    Posted 3 years ago #


    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:

    I appreciate any help that I can get. Thanks!


  2. Paul Clark
    Plugin Author

    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic