Jump to content

image borders getting cut off in Desktop mode

Go to solution Solved by tuanphan,

Recommended Posts

I have a page: Birmingham Festival image
...that is not displaying an image without cutting off the edges in Desktop mode. I got help from @tuanphan with some CSS code to fix the mobile device side of the house, thus:

 

@media screen and (max-width:767px) {
.eventlist-column-thumbnail img {
    object-fit: contain !important;
}
}


What code would I add to affect the desktop display similarly?

thanks

Link to comment
  • Replies 2
  • Views 318
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

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.