Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
eyenstein

Lightbox Form on Mobile Loads too Wide

Question

Site URL: https://www.winkeyewear.com

Hello,  I've added a form to a product that should be filled out when the product is added to cart.  It works fine on desktop but on mobile it loads too wide and causes issues when you try to resize it or scroll around it.  For now it is only attached to this one product but we need it to work on all of them.

https://www.winkeyewear.com/ophthalmic-products/kirk-amp-kirk-cady

Sonora Template (Brine family)

Squarespace 7.0

effect is present on iphones on both chrome and safari.  I can't confirm on non iOS devices.

Is there a way we can modify the width of the form lightbox for mobile using CSS?

thanks all.

IMG_AA9A87036309-1.jpeg

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

iPhone 5 seems fine. However you can add this code to Home > Design > Custom CSS to adjust lightbox width on mobile

@media screen and (max-width:640px) {
.collection-type-products .lightbox-content {
    max-width: 350px !important;
}
}

 


You can send your question to my email to get faster answer.

How to Setup Password & Share URL  Armadillo - Free portfolio template

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...