Jump to content

Blog Thumbnail Photo Being Cut Off

Recommended Posts

Site URL: https://giraffe-fennel-r66f.squarespace.com/

On my testimonial slider, that I'm pulling from blog posts, my thumbnail image is being cut off. I've used custom code to style this.

The images used are perfect squares. Sometimes the images are showing properly but most of the time they're cut off on the top and bottom. 

Site password: field

Custom code I used: 
#block-yui_3_17_2_1_1620082494249_5063 .summary-thumbnail {
  overflow: visible !important;
  border: none;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-item-list {
  pointer-events: none;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-item-list img {
  border-radius: 100% !important;
  height: 150px !important;
  width: 150px !important;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-thumbnail-outer-container {
  height: 150px !important;
  width: 150px !important;
  margin: 0 auto;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-title {
  margin-top: 20px !important;
  font-size: 1rem !important;
  font-family: Tenez;
  text-transform: uppercase;
  font-size: 25px !important;
  text-align: center !important;
  pointer-events: none;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-excerpt {
  margin-top: 30px !important;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-excerpt p {
  font-size: 20px !important;
  line-height: 1.6em !important;
  text-align: center !important;
}
#block-yui_3_17_2_1_1620082494249_5063 .sqs-gallery-design-carousel .sqs-gallery-controls .next:before {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}
#block-yui_3_17_2_1_1620082494249_5063 .sqs-gallery-design-carousel .sqs-gallery-controls .previous:before {
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}
#block-yui_3_17_2_1_1618857549248_13420 .sqs-gallery-design-carousel .sqs-gallery-controls {
  width: 100%;
  padding-right: 30px;
}

 

Thanks for any assistance! 

Link to comment
  • Replies 1
  • Views 341
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Don't remove any code in above code

Add this to Design > Custom CSS > then save & reload the site

/* Fix summary images */
#block-yui_3_17_2_1_1620082494249_5063 .summary-item-list img {
    border-radius: 100% !important;
    height: 150px !important;
    width: 150px !important;
    top: 0 !important;
}
#block-yui_3_17_2_1_1620082494249_5063 .summary-thumbnail {
    overflow: visible !important;
    border: none;
    padding-bottom: 100% !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

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.