Home>Support>Vantage Page (in the middle) Background Image

Vantage Page (in the middle) Background Image

By rlet Alb, 9 years ago. Last reply by Daniel, 9 years ago.

Hi all!

Question about the Vantage Page (in the middle) Background Image

I set the background image ( Appearance >> Customization >> Page >> Page Background Image Link: http://i61.tinypic.com/2n900ms.jpg ), but I have a question about it. There are pages which is short and there are pages which is long and I have a problem with the background image.

How can I set the background image to stretch it automatically according to the size of the page? If the size of the page is large then make the image much larger and if it is small then make it much smaller.

Thank you very much in advance!
Best Regards
Alb

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

  1. 9 years, 6 months ago Daniel
    Hi, I Work Here

    Hi Rlet

    You can use custom css to implement this.

    Do you have a public URL where we can take a look at your site? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. 9 years, 6 months ago Private Message - rlet Alb

    This is a private message.

  3. 9 years, 6 months ago Daniel
    Hi, I Work Here

    Hi Alb,

    Thanks for sending the URL. I realize you had right-click disabled, which is what I needed to inspect your site’s code using Inspect Element.
    However, you can try the following custom CSS to fix the background image:

    #main {
    background-repeat: no-repeat;
    background-attachment: fixed;
    }
    

    Please try and let me know.

  4. 9 years, 6 months ago Private Message - rlet Alb

    This is a private message.

  5. 9 years, 6 months ago Daniel
    Hi, I Work Here

    Hi Alb,

    Thanks.
    Try this CSS code instead:

    body.custom-background {
      background-repeat: no-repeat;
      background-position: center center;
      background-attachment: fixed;
    }
    

    Please let me know if that helps!

  6. 9 years, 6 months ago Private Message - rlet Alb

    This is a private message.

  7. 9 years, 6 months ago Private Message - rlet Alb

    This is a private message.

  8. 9 years, 6 months ago Daniel
    Hi, I Work Here

    Hi Rlet Alb

    First of all am glad you making great progress in developing your site.

    Very sorry about the hassle. Would you mind letting us know if you are satisfied with the modification you made? If not, let us know we’ll jump right in.

  9. 9 years, 6 months ago rlet Alb

    Hi again Mr. Addo!

    I set the Image (cut and size), and now very good the background image. I am very grateful. Thank you very much for your all help! :)

    Have a nice day&Best Regards
    Alb. R.

  10. 9 years, 5 months ago Daniel
    Hi, I Work Here

    Perfect :-)

    Always feel free to open a new thread whenever you require support

    Cheers

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