Popups not displayed properly for screen widths 768px - 959px
Hello,
We've run into an issue with BeBuilder popups not displaying properly for screen widths 768px - 959px.
Wondering if it's possible to integrate a fix into Betheme? Here's Google Gemini's reply:
AI Overview
A centered Betheme (BeBuilder) popup gets pushed off-screen at 768px because 768px is Betheme's exact tablet/mobile breakpoint, where a desktop-sized fixed width or vertical height exceeds the viewport while remaining anchored to the center.
Common Causes & Fixes
1. Width Exceeds 768px (Horizontal Cut-off)
• Cause. In BeBuilder’s Popup Options, the Custom Width is set to a desktop pixel value (e.g., 800px or 900px) without a responsive override for tablet/mobile views.
• Fix in BeBuilder. Open the popup in BeBuilder, go to Popup Options > Design, switch the top preview bar to Tablet (768px), and change the width to a percentage like 90% or 95% (or a smaller pixel value like 680px).
• Fix via CSS. If the builder setting isn't applying cleanly at the exact 768px edge, force a max-width in Theme Options > Custom CSS:css
@media only screen and (max-width: 768px) {
.mfn-popup-tmpl .mfn-popup-tmpl-content {
max-width: 92vw !important;
width: 100% !important;
left: 50% !important;
transform: translateX(-50%) !important;
}
}
Use code with caution.
2. Content Is Taller Than the Viewport (Top/Bottom Cut-off)
• Cause. Centered popups use position: fixed and vertical centering (top: 50% + translateY(-50%)). If the popup content is taller than the screen height (common in landscape tablet mode or on short viewports), the top and bottom edges get pushed off-screen and cannot be scrolled.
• Fix via CSS. Constrain the popup height and enable internal scrolling at 768px and below:css
@media only screen and (max-width: 768px) {
.mfn-popup-tmpl .mfn-popup-tmpl-content {
max-height: 90vh !important;
overflow-y: auto !important;
}
}
...
Thank you for your help.
Comments
Hi,
Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.
It is always a good idea to also attach a screenshot showing your issue.
Thanks
PS.
Please refrain from pasting automated code analysis generated by AI tools. We strictly provide real human support to resolve actual user issues.
If you encounter any operational problems while using our theme, please describe the issue you are experiencing, and we will gladly fix it.