Jump to content

Make specific image block smaller on mobile only

Go to solution Solved by Beyondspace,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
1 hour ago, Apollow90 said:

Site URL: https://www.yorhealthspace.com/

Hey there! Is there a way to control the size of the images in this specific block only on mobile? I want the logos to be less prominent as they are in the screenshot below. 

Password: joebarker

 image.thumb.png.c8f883c2104d902977ee24716ed49e3c.png

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1646280735025_11817, #block-yui_3_17_2_1_1646280735025_17090 {
    width: 50%;
    margin: 0 auto;
  }
}

decrease the percentage until it fits your need

Let me know how it works on your site

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

My testing

image.png.2cf1ad6eaa5e46bf363822e0a0539803.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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
On 5/26/2022 at 1:20 AM, bangank36 said:

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1646280735025_11817, #block-yui_3_17_2_1_1646280735025_17090 {
    width: 50%;
    margin: 0 auto;
  }
}

decrease the percentage until it fits your need

Let me know how it works on your site

Worked liked a charm. Thanks bangank36 🙂

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.