Jump to content

Lightbox size is not responsive on mobile browser

Recommended Posts

Posted

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.

Cheers,Andy

  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply
Posted

try this code


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


Hi, I'm BITTU. A website developer with 10 years experience with Squarespace. if you need help and work with me,

Email me here: - mandeepsquarespace@gmail.com
Hire Upwork: - https://www.upwork.com/freelancers/~01eed466e76c89e024
Behance: - https://www.behance.net/mandeepSquarespace

 

Best Hourly Rate: - $15 Per Hour

Archived

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.