Jump to content

Reduce the Height of the Overlay Caption Section on Image Block

Recommended Posts

  • Replies 7
  • Views 566
  • Created
  • Last Reply

Add to Home > Design > Custom CSS

body#item-5e63e509885e6f31aa7827f1 {
figcaption.image-caption-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}
figcaption.image-caption-wrapper h1 {
    margin: 10px;
}
}

 

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

Link to comment
2 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


body#item-5e63e509885e6f31aa7827f1 {
figcaption.image-caption-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}
figcaption.image-caption-wrapper h1 {
    margin: 10px;
}
}

 

Brilliant. Thank you so much!!

Link to comment
On 9/5/2020 at 9:37 AM, tuanphan said:

Add to Home > Design > Custom CSS


body#item-5e63e509885e6f31aa7827f1 {
figcaption.image-caption-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}
figcaption.image-caption-wrapper h1 {
    margin: 10px;
}
}

 

Hi! Sorry I didn't realize the code wouldn't carry over on multiple pages so I what should I edit the code for to have it work on these pages as well?

https://thisisaspace.com/window-shopping/jewelry

https://thisisaspace.com/window-shopping/bags

https://thisisaspace.com/window-shopping/eyewear

https://thisisaspace.com/window-shopping/footwear

Thank you!!

Link to comment

Edit pages > Add Code Block > paste this code

<style>
  figcaption.image-caption-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}
figcaption.image-caption-wrapper h1 {
    margin: 10px;
}
</style>

 

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

Link to comment
9 minutes ago, tuanphan said:

Edit pages > Add Code Block > paste this code


<style>
  figcaption.image-caption-wrapper {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
}
figcaption.image-caption-wrapper h1 {
    margin: 10px;
}
</style>

 

Brilliant. Thank you!!

Link to comment

Archived

This topic is now archived and is closed to further replies.

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