poetica Posted January 28, 2020 Share Posted January 28, 2020 I'm trying to reduce the padding between an image and caption in 7.1. The default is ridiculously big. Does anyone know of a custom CSS code to fix that issue? I'd like a code that fixes it site-wide. The site is set to private right now because it's not ready yet....Here's an example though, this image is an inline image block. Link to comment
tuanphan Posted January 29, 2020 Share Posted January 29, 2020 Can you share link to this page? 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
poetica Posted January 29, 2020 Author Share Posted January 29, 2020 The website is private, so I'm guessing you can't access it? Is there a workaround? The client isn't ready for the site to be public. Link to comment
tuanphan Posted January 29, 2020 Share Posted January 29, 2020 3 hours ago, poetica said: The website is private, so I'm guessing you can't access it? Is there a workaround? The client isn't ready for the site to be public. You can setup password & share url If your client's doesn't want this...difficult to help. Did you send question to my email? If yes, I replied your email with the code. 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
tuanphan Posted February 14, 2020 Share Posted February 14, 2020 9 minutes ago, ElaCV said: Hi Tuanphan I'm also having the same issue. Any chance you know of a workaround to reduce the gap between the image and the caption? I've added one piece to change the font size of the captions but can't seem to change the padding: .sqs-block-image .image-caption p { font-size: 13px; line-height: 1.4em; } Appreciate any help you could give Can you share link to page in screenshot? 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
sme06 Posted March 27, 2020 Share Posted March 27, 2020 @tuanphan is a hero! He sent me this code, which worked like a charm! figcaption.image-caption-wrapper { padding-top: 0 !important; } .image-caption p { margin-top: 5px; margin-bottom: 0; } Thank you so much!!! Link to comment
Jennifer_NM Posted June 24, 2020 Share Posted June 24, 2020 If you don't want to add any code, you can change the image layout from Inline to Stack and then re-add the caption in the Title section under the image. Leave the Subtitle section blank. Save. Then, under Design / Image Blocks / Image Block: Stack, change the Image Separation slider to 1% or whatever your preference might be. Link to comment
Guest Posted October 5, 2020 Share Posted October 5, 2020 On 3/27/2020 at 1:27 AM, sme06 said: @tuanphan is a hero! He sent me this code, which worked like a charm! figcaption.image-caption-wrapper { padding-top: 0 !important; } .image-caption p { margin-top: 5px; margin-bottom: 0; } Thank you so much!!! Thanks it works perfectly ! I was looking for this for several weeks. Thank you ! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.