Jump to content

Change height of Image Card (image-card wrapper)

Recommended Posts

Posted

Site URL: https://hawk-walrus-dxd2.squarespace.com/

Hello

Hope someone can help 🙂

We would like the text box of the image card to be same height on all blocks, regardless of content. It should also be responsive.
Example of where we have these image cards: https://hawk-walrus-dxd2.squarespace.com/hyr-en-hoeg

I tried this:

.sqs-col-4 .image-card-wrapper {
  height: 80px !important;
}

However it is not responsive and looks off on different screens.

We would also like the text to be in center.

pw is xenia.

Fingers crossed!

  • Replies 5
  • Views 447
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
Posted
On 8/12/2022 at 5:06 PM, WebWhizz said:

Hi!

No not on the front page, I am sorry if my link didn't work! It is here: https://hawk-walrus-dxd2.squarespace.com/hyr-en-hoeg

In Navigation: Hyr en Høeg 

Please see photo.

Thank you in advance! 🙂 

Capture.JPG

I see current layout different compared than your screenshot..

image.thumb.png.9b55dcd8573ba088282cf40019ffbca6.png

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!)

Posted

Hi

Its because of screen size I am sorry.

We would like the content to stay in the red box (no matter the screen size). The right one is "sticking out".  It this possible? 🙂

Thank you and have a nice weekend!

Posted
On 8/19/2022 at 7:45 PM, WebWhizz said:

Hi

Its because of screen size I am sorry.

We would like the content to stay in the red box (no matter the screen size). The right one is "sticking out".  It this possible? 🙂

Thank you and have a nice weekend!

Try adding to Design > Custom CSS

@media screen and (min-width:1800px) {
div#page-62010982157ad22b297bd6e9 .image-block figure {
    background-color: red;
}
}

 

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!)

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.