Jump to content

Promotional Pop Up on Mobile: Move content down to stop close box overlapping text

Go to solution Solved by Lesum,

Recommended Posts

  • Replies 6
  • Views 262
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@beyond_electro Hi! Try adding this code:

@media screen and (max-width: 767px) {
	.sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .group-copy .sqs-slice-heading-content[data-slice-type="heading"] {
    margin-top: 25px !important; 
	}
}

 

Edited by Lesum

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

@beyond_electro It's due to some previous custom code you added. Update the z-index value from '99999999' to '1000' in this code block,

@media screen and (max-width: 767px) {
    .sqs-slide .sqs-slice-group.group-copy.copy-layer-background {
	z-index: 99999999;
    }
}

or simply add the following code instead.

@media screen and (max-width: 767px) {
    .sqs-slide .sqs-slice-group.group-copy.copy-layer-background {
        z-index: 1000 !important;
    }
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment
Posted (edited)

Thank you kindly, do I keep this code....

@media screen and (max-width: 767px) { .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .group-copy .sqs-slice-heading-content[data-slice-type="heading"] { margin-top: 25px !important; } }

 

.....as well as this one?

@media screen and (max-width: 767px) {
    .sqs-slide .sqs-slice-group.group-copy.copy-layer-background {
        z-index: 1000 !important;
    }
}

Thank you

Edited by beyond_electro
Link to comment
  • Solution
32 minutes ago, beyond_electro said:

Thank you kindly, do I keep this code....

@media screen and (max-width: 767px) { .sqs-slide-wrapper[data-slide-type="popup-overlay"] .sqs-slide-container[data-slide-type="popup-overlay"] .group-copy .sqs-slice-heading-content[data-slice-type="heading"] { margin-top: 25px !important; } }

 

.....as well as this one?

@media screen and (max-width: 767px) {
    .sqs-slide .sqs-slice-group.group-copy.copy-layer-background {
        z-index: 1000 !important;
    }
}

Thank you

Yes.

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? 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.