Jump to content

Lightbox Form on Mobile Loads too Wide

Recommended Posts

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

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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;
}
}

 

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

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.