E8h5S7Z Posted July 13, 2023 Share Posted July 13, 2023 Hello, I am currently using the first pop-up promotion template, which has the image on the left and content on the right. I understand that Squarespace intentionally does not display the image on mobile devices, but I'm interested to know if it's possible to enable it using custom code. I apologize if this question has been asked before, but the previous solutions I found in the forum only addressed cases where the image was in the background, not side by side. In summary, I would like the mobile version of this specific template to resemble the desktop version. Link to comment
tuanphan Posted July 13, 2023 Share Posted July 13, 2023 Add to Design > Custom CSS @media screen and (max-width:767px) { .sqs-popup-overlay-content .sqs-slide { position: fixed !important; top: 0 !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] .sqs-slice-gallery-item.loaded img { opacity: 1 !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="gallery"] { display: block !important; } .sqs-slide-wrapper[data-slide-type="popup-overlay"] [data-slice-type="gallery"] { z-index: 1000 !important; } .sqs-slice-group.group-copy.copy-layer-background { z-index: 99999999; background-color: transparent !important; } a.sqs-popup-overlay-close { z-index: 9999999 !important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
E8h5S7Z Posted July 13, 2023 Author Share Posted July 13, 2023 It almost did the trick, but unfortunately the image appears overlapped with the content. Link to comment
tuanphan Posted July 18, 2023 Share Posted July 18, 2023 What is your site url? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment