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

Optimising image block height vs. width


GoodCopy

Question

Site URL: https://www.goodcopybadart.com/exec-sum

It seems that when putting multiple image blocks in a row Squarespace (at least the Avenir template) optimises them to be similar in width. How can I reverse this so that the images would be similar in height, not in width? 

The images in my case are originally taken from a comic book with 9 panels (3 rows of 3 pictures), but when I upload them one by one using image blocks the structure breaks because of how they are forced to be similar in width instead of height.

Hopefully someone has the right answer, Googling for it didn't work for me :)

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

Add to Page Settings > Advanced > Header

<style>
  @media screen and (min-width:768px) {
  .sqs-block-image img {
    display: block;
    width: auto !important;
    height: 100% !important;
    top: 0 !important;
}
  .sqs-block-image .image-block-outer-wrapper:not(.image-block-v2) .image-block-wrapper {
    padding-bottom: 120% !important;
}
  }
</style>

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...