Jump to content

image resizing for mobile browser

Recommended Posts

Site URL: https://joeylim.xyz/

Hello, 

I'm trying to resize my images that are uploaded on to a gallery page(not block) for mobile. I have been successful using a portion of this code to resize the images on the desktop browser, however I cannot get the changes to show on mobile. Here is my code currently: 

 

@media only Screen and (max-width: 767px){
  .sqs-gallery-design-stacked {
    transform: scale(2) !important;
  }
}

 

Is this an issue/limitation of my theme(wells) or am I not writing the code correctly? Help would be much appreciated, thanks! 

Link to comment
  • Replies 2
  • Views 175
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I would like to delete for the duplicate question

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.