Jump to content

Resize round image on mobile

Recommended Posts

Site URL: https://salmon-fife-g3zc.squarespace.com/config/design

Hi, I am trying to reduce my circle images for mobile.

For desktop, I have the following code:

/*UNIVERSAL POSTER AND CARD CIRCLE*/
.sqs-block-image .design-layout-poster img{ border-radius: 50%}

.sqs-block-image .design-layout-card img{ border-radius: 50%; padding: 5px;
  max-width: 80%; margin-left: 30px

But when I try anything to reduce the circle overall, I get the following (pls see attached).

Can someone help me pls.

Thank you in advance.

 

Screen Shot 2021-05-27 at 11.34.22 am.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Sorry, here is the password.

PassTHEw0rd

I have now just left at normal size, but would like to reduce.

My code is just not working? It seems to be reducing the image wrapper, but not the image?

This particular image is just one on the ABOUT page.

Thanks

Link to comment
On 5/30/2021 at 10:06 AM, cleverbirdy said:

Sorry, here is the password.

PassTHEw0rd

I have now just left at normal size, but would like to reduce.

My code is just not working? It seems to be reducing the image wrapper, but not the image?

This particular image is just one on the ABOUT page.

Thanks

Add to Design > Custom CSS > then save & reload your site

/* Mobile-Resize about page */
@media screen and (max-width:767px) {
div#block-b898bb25bd6e5d72aac7 {
    width: 50%;
    margin: 0 auto;
}
}

 

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.