Jump to content

Lange - Resize Images for Mobile

Recommended Posts

  • Replies 5
  • Views 539
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

@media screen and (max-width: 640px) {
    #index-section-studio-171 figure img {
        width:100% !important;
        left: 0 !important;
        height: auto !important;
        top: 0 !important
    }

    #index-section-studio-171 article.index-item.has-item-image {
        height: 35vh !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

Try editing to this

@media screen and (max-width: 640px) {
    .homepage .index-section figure img {
        width:100% !important;
        left: 0 !important;
        height: auto !important;
        top: 0 !important
    }

    .homepage article.index-item.has-item-image {
        height: 35vh !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

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.