Quantcast
Channel: Squarespace Answers - latest questions
Viewing all articles
Browse latest Browse all 21023

Resizing Summary Block thumbnails?

$
0
0

alt text

My code is:

.summary-item {
  float: left !important;
  padding: 5px;
  height: 200px;
  width: 200px;
}

.summary-thumbnail {
  image-size: intrinsic !important;
}

My problem is that the container is 200 × 200, my image, however is not resizing properly to fit the content inside the container. How do I change the code so that the image fits the container and still maintains its aspect ratio without getting cropped?

I have also set the height and width to content-fit and it doesn't work either. Any suggestions? It would be greatly appreciated.


Viewing all articles
Browse latest Browse all 21023

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>