Home>Support>Background Image and Parallax

Background Image and Parallax

By alismith98, 8 years ago. Last reply by Alex S, 7 years ago.

I’m having difficulty creating a background image with scrolling text on top. Please see this page: www.derekscott.ca/about
I’m using the SiteOrigin North Theme.

The original image is 1300x750px.

On the Here’s what I’ve done:
1. I added a row
2. For that row I set it to 2 columns and chose Design>Background Image>I inserted my image here.
3. Under Design, I also chose Parallax under the Background Image Display option.
4. If I view the page at this point…I only see a 1cm tall slice of the background image.

5. I then added a SiteOrigin Editor Widget to the lefthand column (with a 50 px left margin)
6. I added my text to the widget

7. When I view the page…the background image zooms in for some reason. The more text I add, the more zoom occurs. The text is also NOT scrolling on top of the image.

How do I keep the background image to its original size? This is the image I’m using: http://www.derekscott.ca/wp-content/uploads/2016/07/Derek-About-Page.jpg
And, how do I get the text to scroll on top of the background image?

P.S. I’ve tried using the WP plugin Parallax Scroll, and it didn’t work. I’ve also tried using a plain WP text widget and Visual Editor widget.

Thanks for your help!
Alison.

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

  1. 8 years, 27 days ago Alex S
    Hi, I Work Here

    Hi Alison,

    It actually doesn’t sound like you want parallax and instead you want a fixed background. Parallax causes the image to move slightly on scroll. Fixed causes the image to remain 100% the same regardless of position. Please open up the row and set the background image display to titled. Then open the attributes settings group and add the following CSS to the CSS styles field:

    background-attachment: fixed;
    background-position: center;
    background-size: initial;
    

    This should be what you’re looking for.

    To answer your original (and disregarding what I just recommended – please ignore all of the below if you decide to make the image fixed).

    Parallax shouldn’t be used on such a large area as this one. Basically, parallax images will factor in the entire height of the area it’s applied to and background images is stretched to ensure that it can “cover” the entire area it’s applied to. The background image must also maintain an aspect ratio so it can lead to the sides of the image being clipped. This, as a result, can lead to what looks like the image being zoomed in. The larger the area the background is applied to gets, the more it has to clip the sides to ensure that the entire area is covered and that the aspect ratio is maintained.

    Oh, and to clarify, 4 makes sense as the content is the focus of the row, not the background image.

  2. 8 years, 27 days ago alismith98

    Alex, excellent! Thank you so much…

    I ended up selecting Background Image Display as: Cover
    with the CSS you specified in the Attributes section.

  3. 7 years, 10 months ago Simo

    Hi Alex S,

    I am a newbie and trying new ideas for designing / increasing the user experience. I am using the vantage theme.

    many thanks for this as I was trying to use Parallax scroll and following another thread on how to install /edit it but had issues. Probably me…..

    I actually created a row with 1 column, and set as the background image etc. Then added the layout builder widget, added a row with 3 columns and entered a load of text. this actually made the row deeper so saw the image grow and the text scrolled as I wanted.

    again many thanks.

    Simos

    • 7 years, 10 months ago Alex S
      Hi, I Work Here

      Hi Simo,

      We’d like to help you, but can you please start a new thread with your question? We can only offer you the best support possible when you’re the owner of a thread.

      Page: New Thread

      Please include a reference URL.

      If you’re a premium user, you’re entitled to priority email support. If you would like to make use of that please follow the instructions found on this page.

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