Bcbellows Posted March 23, 2021 Posted March 23, 2021 Site URL: https://www.chandrastation.com/ PW:1234 I have been trying to resize my lightboxes for mobile and I am having trouble I referred to this post that was made back in may of last year but it didnt solve my problem unless I didnt change something that I was supposed to. My issue is that the lightbox is super long and not wide enough. The code that I currently have I pasted below. Any help is really appreciated //Lightbox resize for mobile @media screen and (max-width:640px) { .collection-type-products .lightbox-content { max-width: 350px !important; } }
Beyondspace Posted March 25, 2021 Posted March 25, 2021 On 3/24/2021 at 12:13 AM, Bcbellows said: Site URL: https://www.chandrastation.com/ PW:1234 I have been trying to resize my lightboxes for mobile and I am having trouble I referred to this post that was made back in may of last year but it didnt solve my problem unless I didnt change something that I was supposed to. My issue is that the lightbox is super long and not wide enough. The code that I currently have I pasted below. Any help is really appreciated //Lightbox resize for mobile @media screen and (max-width:640px) { .collection-type-products .lightbox-content { max-width: 350px !important; } } Your lightbox is a custom javascript plugin, try @media (max-width: 767px) { html .c-lightbox__content { max-width: 95%; } } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Recommended Posts
Archived
This topic is now archived and is closed to further replies.