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

Can An Image Block Be Treated Like This?


ItsOK

Question

Hi Friends,

I would like to make this page ...

1.thumb.jpg.ec3b54d67ef4421d6432c983de5e6e01.jpg

... look like this:

2.thumb.jpg.2a136ab0683506b6e2dfd4ec75d8eee8.jpg

Is there a way to do that? (Please also note the inset-style thick, white border around.)

This must be a very easy feature to implement into the Squarespace interface, but I'm tired of waiting for that to happen 🙂

Any help would be greatly appreciated! 🙂

Thank you in advance,
Ozan

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

Thank you so much for your kind message @bangank36. My page is here and the password is test. I assume that there will be a specific section ID involved in this. Would you mind explaining to

Posted Images

5 answers to this question

Recommended Posts

  • 1

I can help you create the specific custom css for that block to make image expand 100% width

Greeting, it's BaNgan from 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, Advanced Product Delivery Date Time Picker, Geolocation Automatic Currency Converter, Sortable Table from GSheet
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 post
  • 1

I will answer you shortly

Greeting, it's BaNgan from 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, Advanced Product Delivery Date Time Picker, Geolocation Automatic Currency Converter, Sortable Table from GSheet
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 post
  • 1

Hi ItsOK

1. I use chrome extension named "Find Squarespace Ids" that helps indentify blocks id to apply the css

2. Copy the section id and replace with ones in this snippet below, location Settings->Design->Custom Css

In this case it is 

section[data-section-id="5f9a10ff325d596dd6c66894"]

image.thumb.png.45c99c04f71a3f7c360d196ed8a5787c.png

section[data-section-id="5f9a10ff325d596dd6c66894"] .content-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}
section[data-section-id="5f9a10ff325d596dd6c66894"] .sqs-block-image {
  padding: 0 !important;
}
section[data-section-id="5f9a10ff325d596dd6c66894"] .image-card-wrapper {
  padding-top: 6.6vw;
  padding-right: 6.6vw;
  padding-bottom: 6.6vw;
}
section[data-section-id="5f9a10ff325d596dd6c66894"] .design-layout-card .intrinsic img {
  height: 100% !important;
}
section[data-section-id="5f9a10ff325d596dd6c66894"] .design-layout-card .image-inset {
  height: 100% !important;
}

 

Edited by bangank36

Greeting, it's BaNgan from 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, Advanced Product Delivery Date Time Picker, Geolocation Automatic Currency Converter, Sortable Table from GSheet
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 post
  • 0

Thank you so much for your kind message @bangank36.

My page is here and the password is test.

I assume that there will be a specific section ID involved in this. Would you mind explaining to me (and others who might be interested) how to repeat the same action for other image blocks?

Thank you again in advance for your help.

Link to post
  • 0

Hi @bangank36,

Thank you so much for your help!

That worked, but here is how it looks now:1687885803_ScreenShot2020-10-29at12_50_55PM.thumb.jpg.4fe211714083dc80efb182976bad47ae.jpg

Is there any way to make it 'half image / half text' instead of this type of a left-heavy layout?

I tried to play with the code you provided but couldn't make it happen.

Thank you!

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...