pearknuckle Posted November 4, 2021 Share Posted November 4, 2021 Site URL: https://www.grapesodastudio.uk/ hello almighty and gracious squaremind, having an issue with a promotional popup on mobile where the pop-up appears without it's background image and unusually low on the phone screen. Images should show the desktop and mobile emulated (it does exactly the same thing on actual phones) situations Have tried using in the custom CSS .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].overlay-mobile-styles-enabled .group-copy { background: url("IMAGE URL"); } to force the image in (code snippet stolen from another pop up post) - but to no avail I've tried targeting various classes of .sqs-slide-wrapper to try and force the position to be at the top but can only make it behave by turning things off in dev tools in chrome If i turn off .sqs-popup-overlay - top:auto i can then use the dev tools to make it lookright but then can't work out how to make the same thing happen by adding css to the custom css Has anyone got a suggestion of how to make the bleeping thing behave as it should? Thanks Link to comment
Solution paul2009 Posted November 4, 2021 Solution Share Posted November 4, 2021 (edited) On 11/4/2021 at 7:57 PM, pearknuckle said: having an issue with a promotional popup on mobile where the pop-up appears without it's background image and unusually low on the phone screen. This is by design. The mobile version of the popup has been deliberately designed this way so that it respect Google’s guidelines for pop-ups on mobiles and does not obscure the content underneath. This is really important because Google predominantly uses the mobile version of the content for indexing and ranking. If your popup does not respect Google’s guidelines your site is likely to be penalised in search rankings. Did this help? Please give feedback by clicking an icon below ⬇️ Edited February 19 by paul2009 jaisequoia 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
pearknuckle Posted November 4, 2021 Author Share Posted November 4, 2021 4 minutes ago, paul2009 said: This is by design. The mobile version of the popup has been deliberately designed this way so that it respect Google’s guidelines for pop-ups on mobiles and does not obscure the content underneath. This is really important because Google predominantly uses the mobile version of the content for indexing and ranking. If your popup does not respect Google’s guidelines your site is likely to be penalised in search rankings. thanks very much for your reply, that makes sense Is the indexing effected by how much of the content the pop up covers? can live with the pop up being at the bottom but having the button at the bottom of the pop-up not always appearing in the screen is less ideal. Is the lack of background image also due to the indexing/ranking concession? Link to comment
paul2009 Posted November 4, 2021 Share Posted November 4, 2021 The size is most important. Having an image wouldn't matter, except that it would lead to users wanting it larger 😀. jaisequoia 1 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
omventure Posted December 8, 2022 Share Posted December 8, 2022 On my mobile popup (omventure.com), the text fits within the popup space visible at the bottom of the screen, but there is a popup scroll bar that, when used, just reveals a lot of blank space below the button. How do I remove all that blank space below the button on the mobile popup, so there is no scroll bar on the mobile popup? I've attached an image showing what it looks like after I scroll to the bottom of the pop up (all the blank space) Thank you for any possible help! XO Link to comment
tuanphan Posted December 11, 2022 Share Posted December 11, 2022 On 12/9/2022 at 12:34 AM, omventure said: On my mobile popup (omventure.com), the text fits within the popup space visible at the bottom of the screen, but there is a popup scroll bar that, when used, just reveals a lot of blank space below the button. How do I remove all that blank space below the button on the mobile popup, so there is no scroll bar on the mobile popup? I've attached an image showing what it looks like after I scroll to the bottom of the pop up (all the blank space) Thank you for any possible help! XO Popup shows fine to me. Did you solve it? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
omventure Posted January 14 Share Posted January 14 Yes, I did solve it! Once I added a border (and made it the same color, so it would blend in, as I didn't want a border), the problem was resolved. So it's a Squarespace issue that I worked around. Thank you! But I have another issue: my mobile pop up close button does not display in the color I've selected ... is there CSS code that will ensure my mobile pop up close button will display in a custom color? Thank you! Link to comment
tuanphan Posted January 18 Share Posted January 18 On 1/14/2023 at 8:50 AM, omventure said: Yes, I did solve it! Once I added a border (and made it the same color, so it would blend in, as I didn't want a border), the problem was resolved. So it's a Squarespace issue that I worked around. Thank you! But I have another issue: my mobile pop up close button does not display in the color I've selected ... is there CSS code that will ensure my mobile pop up close button will display in a custom color? Thank you! Can you enable popup? It doesn't show now Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
omventure Posted January 18 Share Posted January 18 I have just reset it to appear at 30 seconds (to create a more peaceful experience, sorry!). Link to comment
omventure Posted January 18 Share Posted January 18 I'm having another issue, now, though, which is interesting: On mobile, I'm trying to make my popup close X button appear white PLUS appear on the bottom right of the popup window. I can't seem to figure out how to do this. Here is my best attempt, but it's not working: /* pop-up close button */ @media screen and (max-width: 640px) { .sqs-popup-overlay-close { color: #fff !important; margin-right: 5px !important; margin-bottom: 45px !important; } } Thank you for any possible help! Link to comment
hellothere Posted February 15 Share Posted February 15 Hi all, Hope you are all well, Does anyone know how to get images on a promotional pop-up for mobile in 7.1? Thanks in advance Link to comment
tuanphan Posted February 21 Share Posted February 21 On 2/15/2023 at 10:44 PM, hellothere said: Hi all, Hope you are all well, Does anyone know how to get images on a promotional pop-up for mobile in 7.1? Thanks in advance Add this code to Design > Custom CSS to get image show on mobile /* Promotional popup mobile */ @media screen and (max-width: 767px) { .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].overlay-mobile-styles-enabled .group-copy { background: transparent; } .sqs-slice-group.group-copy.copy-layer-background * { color: white !important } .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"].overlay-mobile-styles-enabled .group-copy { background: transparent !important; } .sqs-slice-group.group-copy.copy-layer-background * { color: white !important } .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] [data-slice-type="gallery"] { display: flex !important } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
LUDLOW Posted March 27 Share Posted March 27 On 1/18/2023 at 9:58 AM, omventure said: I'm having another issue, now, though, which is interesting: On mobile, I'm trying to make my popup close X button appear white PLUS appear on the bottom right of the popup window. I can't seem to figure out how to do this. Here is my best attempt, but it's not working: /* pop-up close button */ @media screen and (max-width: 640px) { .sqs-popup-overlay-close { color: #fff !important; margin-right: 5px !important; margin-bottom: 45px !important; } } Thank you for any possible help! @omventure were you able to solve this? We are having the same issue of trying to color the close button "X" on mobile. omventure 1 Link to comment
omventure Posted March 29 Share Posted March 29 Yes, I was able to color the close button on mobile pop up: /* popup close X */ .sqs-popup-overlay-close { color: #fff !important; } /* popup close X mobile */ .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .sqs-popup-overlay-close:before { color: #fff !important; } Link to comment
LUDLOW Posted March 30 Share Posted March 30 Thank you very much! I greatly appreciate you sharing this. Now on to solve the autogenerated box around it... Link to comment
omventure Posted March 30 Share Posted March 30 Anytime! I fixed that auto-generated box/border around it by... going into marketing, promo pop-up, style, overlay design, border color (and made that border color identical to the color behind text) Link to comment
LUDLOW Posted March 31 Share Posted March 31 Nice! This didn't work out for me. But it got me looking at the individual elements, and I was able to change the opacity to "0" by editing the CSS you shared. Much appreciated! Link to comment
omventure Posted March 31 Share Posted March 31 Thank you so much for letting me know both of those things! I noticed weird things happening with css yesterday, so I wonder if some system changes are going on. I'm going to take a peek at what you did for your site and compare to my settings, as I'm so curious about it. Thanks again! LUDLOW 1 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