Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1397747

    Hi,

    I want to use pop up contact form, through this way: https://www.cheapseo.cn/inquiry/?iframe=true

    How to full display it, also on mobile view?

    View post on imgur.com

    #1397908

    hi, how to do it.

    #1398007

    Hi,

    Thank you for the inquiry.

    You can create a link or a button and add the class name “lightbox” to it.

    Example:

    <a href="https://www.site.cn/inquiry/?iframe=true" class="lightbox">Inquire</a>
    

    The page should automatically display in a lightbox container once the button is clicked.

    Best regards,
    Ismael

    #1398012

    Hi,

    It is not working, there is still the scroll,

    I want the lightbox display fully without the scroll

    View post on imgur.com

    #1398172

    Hi,

    Thank you for the update.

    You can use this css code to adjust the height of the lightbox container.

    .mfp-iframe-scaler {
        padding-top: 90%;
    }
    

    Best regards,
    Ismael

    #1398187

    Hi,

    It work, but not perfect.
    I have set no foot for the page, but add the css, it will show the foot color, how to correct it:

    View post on imgur.com

    Besides, there is still scroll in mobile view, what need i do?

    Thanks

    #1398290

    Hi,

    To remove the footer, edit the page containing the contact form then select the Blank No Header, No Footer page template.

    // https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use

    For mobile view, try to adjust the top padding value in the css code that we suggested above.

    Best regards,
    Ismael

    #1398746

    Hi,

    After do all settings you said, and try a lot time, it is still can’t be ok on mobile view.

    Please help, attached is the admin access

    #1398748

    Also, please make the page looking smaller, it is too big now

    #1399080

    Hi,
    Any way to solve it?

    #1399260

    Hi,
    Thanks for the login and your patience, I found that your contact form was inside a column element on your iframe page, I removed this and added this css to remove the top & bottom padding from the iframe page and make the popup 100vh to remove the scroll bar.
    Please note that if your screen size is smaller than the content the scrollbar will show, for example some of your screenshots look like a mobile device in landscape mode and the whole contact form doesn’t show, in this case the scrollbar is needed so the user can see the whole form.

    #top.page-id-1870 .template-page {
    padding: 0;
    }
    div.mfp-iframe-scaler  {
      height: 100vh !important; 
      width: 100vw !important;
      }
    .mfp-iframe-scaler iframe { 
        width: 90% !important; 
        height: 81% !important;
    }

    Enfold_Support_455.jpeg

    Best regards,
    Mike

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