Support » Plugin: WP Maintenance Mode » Position Background

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author George J

    (@georgejipa)

    Hello @duber777,

    The browser cuts the bottom because the background is responsive. If you want to change this behavior, you can add your own CSS code.

    There are two ways to add your own CSS:
    – enqueue a new CSS file (recommended only if you know how to use WordPress hooks): https://github.com/WP-Maintenance-Mode/Snippet-Library/blob/master/enqueue-css-files.php
    – edit the plugin


    George

    • This reply was modified 3 months, 2 weeks ago by George J.

    Unfortunately I do not know the code.

    But i tried to edit the background using the plugin, but no matter how I crop the image, it is still cuts from the bottom.

    Can you add this feature in future updates?

    UPD: I understand what the issue is. On my monitor with a resolution of 1920 by 1080 the image is cropped because original image 1920 x 1280 and it does not automatically adjust to resolution display devices.

    But if I programmatically increase the screen resolution, the image is displayed correctly.

    Plugin Author George J

    (@georgejipa)

    The browser is scaling the image (based on the screen resolution), but he’s also keeping the aspect ratio.

    For now, I don’t think there is a better option to implement a responsive background.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.