• Resolved butterandjam

    (@butterandjam)


    Hi,

    I was wondering what the ideal image size is for the header background image if one’s using the boxed site layout and wants the image to be centered and without repeats. In other words, what is the maximum height and width of the header background image?

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • If you lock your maximum height and width from the header background image it doesn’t need to have a ideal image size. You can lock the size of the boxed site.

    Say that the default header image size is 300x100px and the image you have is 200×150.
    If you define those dimensions in functions.php

    define('HEADER_IMAGE_WIDTH', 200);
    define('HEADER_IMAGE_HEIGHT', 150);

    and add #custom_header in you style.css you have your ideal image size is for the header background.

    #custom_header {
    width: 200px;
    height: 150px;
    }

    Does that make any sense?

    Thread Starter butterandjam

    (@butterandjam)

    Thank you, cd_BE ?? I guess it makes sense and would probably be a good solution for me later but for now I would still like to know what the ideal background image size is because I’m not experienced in this field and wouldn’t like to touch the code.

    Hi there!

    This theme actually doesn’t support a header background image. It supports an overall background image, but not a header background image.

    Thread Starter butterandjam

    (@butterandjam)

    Hi, this is what I meant:
    https://grab.by/xELE
    Is there an ideal size for this? I mean, if I want an image that would cover that section (behind the logo and the navigation menu) without repeats or without having just a fragment of it behind the header section.

    Oh geez…I totally was wrong with what I told you.

    As for size of the image, there really isn’t an ideal size. It’s best if you just give it a shot and see what happens. There are additional controls that help you change the way that the image is displayed. You can really achieve a lot of different effects.

    Thread Starter butterandjam

    (@butterandjam)

    Ok, thanks, I’ll try that ??

    Anonymous User 9936702

    (@anonymized-9936702)

    Sounds great, butterandjam!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Ideal background image size’ is closed to new replies.