• Resolved khannamanu

    (@khannamanu)


    Hello,

    We have built a ‘coming soon’ page using this plugin. First of all, great plugin so thank you for making it available for free.

    For the most part, we have been able to tweak the positioning of the elements using custom CSS. However, the background image is not loading as intended.

    Problem 1: The background image is getting resized to 1024×707. The dimensions of the uploaded image are 2500×1824. This is causing the image to look blurry on devices. What is the best way to address the issue?

    Problem 2: On mobile devices we find that the background image is a bit too “tall” and would like to shorten the max-height it takes up on a mobile browser i.e. move the background image up by a certain amount so that it fits nicely on an iPhone X screen or larger.

    Appreciate any help you’re able to provide.

    Thanks
    – Manu

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ales

    (@alesmal)

    Hello @khannamanu, thanks for reaching out!

    Problem 1: Plugin loads ‘large’ image size on mobile devices, to load bigger image, please got Settings > Media and change the size of large images

    View post on imgur.com

    Problem 2: Background image is positioned absolutely and stretched to device viewport, you can use custom CSS to move it as you like:

    Change top or bottom values to move the image up or down

    #background-wrapper {
       top: 0px;
       bottom: 0px;
    }

    You might need to add a background to body as it’s currently white:

    body {
      background-color: black;
    }

    Hope that helps, Ales

    Thread Starter khannamanu

    (@khannamanu)

    Thanks for the quick response, Ales.

    Problem 1: It looks like the media settings in WordPress are already set to ‘Large’. We implemented the solution recommended on this post and this has improved the quality of the background image on desktop but we continue to get a blurry image on iPad and Mobile. Can you test on your mobile device and check it out as well pls?

    Problem 2: We tried your recommended fix but didn’t implement it because of the white background it showed when the image was moved. Since our background image has a gradient on it, even changing it to a black background didn’t work too well. The goal was to simply shift the viewport to another section of the image (since the image is much larger than what the viewport is actually showing). Not sure if that makes sense but the idea is to have the copyright footer show up below the glow in the background image and also eliminate the vertical scroll on mobile.

    Appreciate the help.

    Plugin Author Ales

    (@alesmal)

    Howdy @khannamanu,

    You have to actually change the numbers in the large thumbnail, try changing the values from 1024 to something like 1500 or so.

    Re second problem, I get you, but that’s not quite possible unfortunately.
    But it looks OK to me on my device:

    View post on imgur.com

    Btw next plugin update will bring possibility to upload custom image for a mobile devices, which might resolve both of your issues.

    Ales

    Plugin Author Ales

    (@alesmal)

    With new plugin update you can use a special image just for mobile devices now.

    Cheers Ales

    Thread Starter khannamanu

    (@khannamanu)

    Thank you for fixing this! The option to add a mobile-specific image is very helpful.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Background Image Resizing’ is closed to new replies.