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
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.