Jump to content

Mobile Image Resizing

Recommended Posts

Site URL: https://www.plantbasedpitstop.co.uk/

Hey guys,

I know there are a few threads discussing this issue but after playing around im still having trouble.
Im trying to reduce the size of the stars on my mobile version, but Im struggling to centre it.

Code ive applied is below. Thanks in advance!

@mobile:          ~"only screen and (max-width: 640px)";
@media @mobile {
#block-yui_3_17_2_1_1595844642817_27900 {
 width: 50% ;

  float: center !important;



Screenshot 2020-07-28 at 18.02.10.png

Link to comment
  • Replies 1
  • Views 324
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

div#block-yui_3_17_2_1_1595844642817_26640 {
    width: 50%;
    margin: 0 auto;

Repeat similar for other images.

Find ID with this tool https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde

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


This topic is now archived and is closed to further replies.

  • 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.