cl-popup button doesn't work in portrait cellphone
-
Hi, and thanks for sharing your code, it’s very usefull!!
But one detail arise using cl-popup shortcode with popup size = small, when i test it from my cellphone in portrait mode, the button doesn’t reach to open the popup.
Even used css setting below it doesn’t reach to open the popup (but it open it if cellphone is in landscape, and when i return to portrait the opened popup get to resize it properly)
Any idea to improve the css code?
Regards, Pescadito.cl-popup-box.size_s {
width: 400px;
margin-left: -100px;
padding: 25px 0;
}
@media (max-width: 700px) {
.cl-popup-box.size_s {
left: 50px;
right: 50px;
width: 80%;
margin-left: 0;
}
.cl-popup-box.size_s + .cl-popup-closer {
width: 80%;
}
}
@media (max-width: 400px) {
.cl-popup-box.size_s {
left: 50px;
right: 50px;
width: 80%;
margin-left: 0;
}
.cl-popup-box.size_s + .cl-popup-closer {
width: 80%;
}
}https://www.ads-software.com/plugins/codelights-shortcodes-and-widgets/
- The topic ‘cl-popup button doesn't work in portrait cellphone’ is closed to new replies.