customize banner in The Morning After Theme

  • Author
  • #817967


    I was able to change top banner height (from 70px to 300px), but the only thing I get is an image 70px croped image repeated 4 1/3 times.
    How can I change it for a full 960 x 300 px image?

    The blog I need help with is


    Most commonly, something like this is used to replace a header image background with something more customized using CSS:

    background: url('YOUR_IMAGE_URL') no-repeat;
    height: 300px;

    Replace YOUR_SELECTOR with the selector needed for your theme. Replace YOUR_IMAGE_URL with an image URL, most likely one you’ve uploaded to your media library.

    If you send us a link to your site, then we could see what you’ve done so far and give you more specific advice.



    Thank your for your answer!

    I think there is a code somewhere which crop the image idenpendently of height size.


    Banner height is 300px, but the image (from my media library) is cropped to 70 px. But no more repeat!


    This is your current cropped image from the Appearance → Header page:

    You should create a new image separately, on your computer, and then upload it to your media library and copy the URL. See

    Once that is done, add this CSS and replace YOUR_IMAGE_URL with the image URL you uploaded to your media library:

    #topbanner {
    background: url(YOUR_IMAGE_URL) no-repeat;


    That’s what I have done… The image selected from my media library is this one:
    Not the cropped one…


    The width of that image isn’t wide enough to fit your theme. Your theme is 960px and the image is 694px.

    But here’s how it would look using the width and height of the image you linked:

    #topbanner {
    background: url( no-repeat !important;
    width: 692px;
    height: 392px;

    Note: I had to add !important to the rule which I didn’t realize before when I posted.



    It looks like it works! Many thanks!!!


    Yay! Cheers :)

The topic ‘customize banner in The Morning After Theme’ is closed to new replies.