Header background size? - by Simon - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Rose Tyler

  • Avatar: Simon
    Simon
    Participant
    November 24, 2018 at 21:15

    Hi, I would like to know what size my header background image should be so I can get a perfect image.

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 26, 2018 at 09:49

    Hello,

    You can try 1170×164.

    Regards

    Avatar: Simon
    Simon
    Participant
    November 26, 2018 at 09:59
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 26, 2018 at 10:08

    Please try to use this code:

    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;

    Regards

    Avatar: Simon
    Simon
    Participant
    November 26, 2018 at 10:14

    Which class should I relate it to?
    For example is it

    .background {
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    }

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 26, 2018 at 10:22
    .header-wrapper {
        background-size: cover;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.