Jump to content

Custom (smaller) image sizes for mobile

Recommended Posts

Site URL: https://uesprivatepsychotherapy.com/about

I'm a freelancer helping a client tweak the layout of her site. She has a list of her education credentials at the bottom of her About page that looks great on desktop browsers, but I'm trying to adjust it for mobile sizes so that the icon for each institution doesn't scale up to full screen width. How can I target these specific blocks, and scale them down? Ideally, they'd be in a grid with the icon + title and caption, but just a list would also look good. Any suggestions for how to approach this? Thanks!

Link to comment
On 6/27/2022 at 2:31 AM, simonabrams said:

Site URL: https://uesprivatepsychotherapy.com/about

I'm a freelancer helping a client tweak the layout of her site. She has a list of her education credentials at the bottom of her About page that looks great on desktop browsers, but I'm trying to adjust it for mobile sizes so that the icon for each institution doesn't scale up to full screen width. How can I target these specific blocks, and scale them down? Ideally, they'd be in a grid with the icon + title and caption, but just a list would also look good. Any suggestions for how to approach this? Thanks!

Edit to Design > Custom CSS

@media screen and (max-width:640px) {
div#block-yui_3_17_2_14_1515758507753_75760~.row .image-block {
    width: 30% !important;
    float: left !important;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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.