This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Vantage Page (in the middle) Background Image

Open 10 replies premiumthemetheme-vantage
10 years ago · Last reply by Daniel 10 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.

Need fast email support? Get SiteOrigin Premium

Replies

10
  1. Daniel Staff 10 years, 10 months ago

    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. rlet Alb Private 10 years, 10 months ago

    This is a private message.

  3. Daniel Staff 10 years, 10 months ago

    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. rlet Alb Private 10 years, 10 months ago

    This is a private message.

  5. Daniel Staff 10 years, 10 months ago

    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. rlet Alb Private 10 years, 10 months ago

    This is a private message.

  7. rlet Alb Private 10 years, 10 months ago

    This is a private message.

  8. Daniel Staff 10 years, 10 months ago

    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. rlet Alb 10 years, 10 months ago

    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. Daniel Staff 10 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread