Jump to content

Popup show every Time after Custom CSS

Recommended Posts

Hello dear forum,

I hope you can help me. 

I have had a pop-up on my website for some time now, so that it also displays an image in mobile view, I have already used the CSS code.

//// Mobile PopUp ////

@media screen and (max-width:767px) {
.sqs-popup-overlay-content .sqs-slide {
    position: fixed !important;
    top: 50% !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-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .sqs-slide-animation-ready .sqs-popup-overlay-close {
    z-index: 9999999;
}
}

But now I have the problem that the pop-up pops up again every time I reload a page or switch to another page. Despite the setting in the marketing menu at Squarespace to 24h or even never (test).

This is of course extremely annoying for the customers and I ask for your help because the popup should not pop up again immediately after closing or clicking on the link for user XY.

Thank you very much for your support. 

Link to comment
30 minutes ago, philGdut said:

But now I have the problem that the pop-up pops up again every time I reload a page or switch to another page. Despite the setting in the marketing menu at Squarespace to 24h or even never (test).

If this setting isn't working then you need to ask Squarespace Support, it's not really something the forum can help with:

https://support.squarespace.com/hc/requests/new#choose-topic

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.