Jump to content

Lightbox size is not responsive on mobile browser

Recommended Posts

Hello There,

I currently added a feature, which is using link to trigger a lightbox image.I followed the incredible tutorials from "spacetutorials.com" as I know nothing about coding...

The lightbox worked really well but only with a problem, the size is not responsive on mobile browser...

Can anyone tell me how can I fix the problems? Here is the URL of my webpage as your reference:https://andychu.design/test

Thank you very much and looking forward to hearing from any solutions.


Link to comment
  • Replies 4
  • Created
  • Last Reply

try this code

@media only screen and (max-width: 1024px){
.img {
   vertical-align: middle;
   width: 285px;

Hi, I'm BITTU. A website developer with 8 years experience with Squarespace. if you need help and work with me email me here :- mandeepsquarespace@gmail.com Best Hourly Rate :- $15 Per Hour

Link to comment


This topic is now archived and is closed to further replies.

  • 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.