Jump to content

Mobile Image Overlay Width

Recommended Posts

Site URL: https://matey.app

Hi, I've applied some code to have image cards appear smaller in mobile view. Is there a way I can exclude image poster blocks from being altered? Currently, my image poster block appears crushed on mobile. Any idea how to have it appear with the same margins as the other elements on the site in mobile view? I've attached a screenshot below. Thanks!

IMG_9805.jpg

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

@media screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1597884598834_12098 .image-inset {
    width: 100%;
    margin: 0 !important;
  }

  #block-yui_3_17_2_1_1597884598834_12098 .image-inset .loaded {
    width: 100% !important;
    left: 0 !important;
  }
}

 

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.