Jump to content

Resize images for mobile view

Recommended Posts

  • Replies 4
  • Views 877
  • Created
  • Last Reply
  • 5 months later...

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
/* image 1 */
div#block-yui_3_17_2_1_1603233649229_34133 {
    width: 50%;
    margin: 0 auto;
}
/* image 2 */
div#block-yui_3_17_2_1_1603233649229_107209 {
    width: 30%;
    margin: 0 auto;
}
/* Number 1 */
div#block-yui_3_17_2_1_1603485922266_12601 {
    width: 30% !important;
}
/* number 2 */
div#block-yui_3_17_2_1_1603487663385_9106 {
    width: 30% !important;
}
/* number 3 */
div#block-yui_3_17_2_1_1603487663385_18839 {
    width: 30% !important;
}
div#block-yui_3_17_2_1_1603487663385_171377 {
    width: 40%;
}
div#block-yui_3_17_2_1_1603487663385_174951 {
    width: 40%;
}
div#block-yui_3_17_2_1_1603487663385_178835 {
    width: 40%;
}
div#block-yui_3_17_2_1_1603487663385_182107 {
    width: 34%;
}
}

 

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

Archived

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.