-
AuthorPosts
-
February 13, 2023 at 2:03 pm #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?
February 14, 2023 at 12:52 pm #1397908hi, how to do it.
February 15, 2023 at 4:33 am #1398007Hi,
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,
IsmaelFebruary 15, 2023 at 5:01 am #1398012Hi,
It is not working, there is still the scroll,
I want the lightbox display fully without the scroll
February 16, 2023 at 8:08 am #1398172Hi,
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,
IsmaelFebruary 16, 2023 at 9:56 am #1398187Hi,
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:Besides, there is still scroll in mobile view, what need i do?
Thanks
February 17, 2023 at 7:10 am #1398290Hi,
To remove the footer, edit the page containing the contact form then select the Blank No Header, No Footer page template.
For mobile view, try to adjust the top padding value in the css code that we suggested above.
Best regards,
IsmaelFebruary 21, 2023 at 10:27 am #1398746Hi,
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
February 21, 2023 at 10:31 am #1398748Also, please make the page looking smaller, it is too big now
February 24, 2023 at 7:18 am #1399080Hi,
Any way to solve it?February 25, 2023 at 4:40 pm #1399260Hi,
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; }
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.