andychu0129 Posted August 22, 2019 Share Posted August 22, 2019 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 Link to comment
Mdhanjal Posted August 22, 2019 Share Posted August 22, 2019 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
andychu0129 Posted August 22, 2019 Author Share Posted August 22, 2019 Sorry, I really don’t know coding... could you let me know where should I put this code to? Code Injection code area The Code Content Block Thank you very much Link to comment
andychu0129 Posted August 22, 2019 Author Share Posted August 22, 2019 @mdhanjal Not working unfortunately.... Link to comment
Mdhanjal Posted August 23, 2019 Share Posted August 23, 2019 @media only screen and (max-width: 640px){ .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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.