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

Caption Padding and margins for image blocks


nikkisknaks

Question

Site URL: https://flower-bat-t5ng.squarespace.com/

Hi,

I am trying to reduce the caption padding and margin for the image blocks on my portfolio.

I have added the custom css code for the same:

.design-layout-inline .image-caption-wrapper {
    padding: 0 !important;
}

.design-layout-inline .image-caption-wrapper h2 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

 

After doing so ,when I am still in the edit mode, I see the changes being reflected. But once I say Done and Save changes and publish/preview my site I don't see the changes.

Appreciate the help!

Thanks!

 

Password: Underconstruct21

Link to comment

2 answers to this question

Recommended Posts

  • 0
4 hours ago, nikkisknaks said:

Site URL: https://flower-bat-t5ng.squarespace.com/

Hi,

I am trying to reduce the caption padding and margin for the image blocks on my portfolio.

I have added the custom css code for the same:

.design-layout-inline .image-caption-wrapper {
    padding: 0 !important;
}

.design-layout-inline .image-caption-wrapper h2 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

 

After doing so ,when I am still in the edit mode, I see the changes being reflected. But once I say Done and Save changes and publish/preview my site I don't see the changes.

Appreciate the help!

Thanks!

 

Password: Underconstruct21

I saw code applied, this what it looks when remove the code

image.png.d4431504a3d9cc67ba50818b83b6bdfb.png

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: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
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...