Jump to content

Set height for image block & button (stacked)?

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

On 11/4/2021 at 9:55 AM, jesswp said:

Is there a way to set the height of an image block (stacked)? I have two blocks that are different length of information. Thinking if I am able to set the height of the block, and maybe the button as well, that it'd look cleaner on desktop/tablet/mobile. Any suggestions?

https://snail-sprout-zgz3.squarespace.com/
pass: workout

 

2027208620_ScreenShot2021-11-03at10_54_57PM.thumb.png.167214c14d6b7700b8495e9507ba2918.png

Thanks in advance.

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  section[data-section-id="6180a23262a3db3bbe96bd47"] .content {
    width: 100%;
  }	
  section[data-section-id="6180a23262a3db3bbe96bd47"] .image-card {
    height: 500px !important
  }	
}
section[data-section-id="6180a23262a3db3bbe96bd47"] .image-card {
  height: 450px !important
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.