Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by anjeline

  1. I figured it out if anyone is interested. .summary-thumbnail { width: auto !important; height: 200px !important; } .summary-thumbnail img { width: auto !important; height: 200px !important; }
  2. 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.
  • Create New...