Home>Support>Images do not look right in mobile version

Images do not look right in mobile version

Hi,

My site looks different when viewed on a mobile device. Text sections appear above the background image, in stead of on the image, like shown on the desktop version. For example, www.demotortrainer.nl/boeken looks like it should, but the mobile version shows a black space on top:

I enabled the responsive layout in the Page Builder settings already.

How do I fix this?

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, 4 months ago Andrew Misplon
    Hi, I Work Here

    Hi Hank

    In Custom CSS you have the following rule:

    page-id-400.layout-full .panel-row-style.panel-row-style-full-width {
        padding-top: 0;
    }
    

    Try changing that rule to:

    page-id-400.layout-full .panel-row-style.panel-row-style-full-width {
        padding-top: 0;
        background-size: cover !important;
    }
    
  2. 8 years, 4 months ago Hank

    Hi Andrew, thanks. Changing the code doesn’t seem to work. Now, when I visit the page on my mobile, it looks like it should for 0,5 seconds and then it flips back to the previous situation.

  3. 8 years, 4 months ago Hank

    ps. it also happens on the other rows with 2 columns on which I use 1 background image, for example http://www.demotortrainer.nl (scroll down to ‘vincent gaus’)
    when I use a row with 1 column, things look right.

  4. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Sorry, I’m missing a period, please, try using:

    .page-id-400.layout-full .panel-row-style.panel-row-style-full-width {
        padding-top: 0;
        background-size: cover !important;
    }
    
  5. 8 years, 4 months ago Hank

    Yes, that works. I used the code for all the subpages as well and all the rows look good on a mobile phone now.
    Great, thanks!

  6. 8 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Super :) Glad to hear that did the trick. All the best.

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