Home>Support>Image Header

Image Header

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hello,
How to prevent the image of header from repeating in width.
Thanks
Best regards,
Virginie

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Virginie. Are you referring to the masthead background image? If the site is live please send a link through.

  2. 11 years, 2 months ago Virginie Raisson

    Hi Andrew,
    yes the masthead background image.
    My website : http://www.ski-perf.com

    Thanks :-)

  3. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Here are two different options to try under Appearance > Custom CSS to deal with the masthead background image:

    /* Masthead Background Image */
    
    header#masthead {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    }

    OR

    /* Masthead Background Image */
    
    header#masthead {
    background-repeat: no-repeat;
    }
  4. 11 years, 2 months ago Virginie Raisson

    Perfect. ;-)
    Thanks a lot !

  5. 11 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Not a problem, glad we could help.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More