katieslee Posted February 2, 2021 Share Posted February 2, 2021 Site URL: http://www.emmaashrujones.com Hiya, I'm using collage image blocks to format testimonials on this site: https://www.emmaashrujones.com/coaching They're looking great on desktop, but on mobile, it looks like the client is peeking out over the text card. Is there a way to reduce the [vertical] overlap on mobile? Thank you! 😺 Link to comment
tuanphan Posted February 4, 2021 Share Posted February 4, 2021 Add to Design > Custom CSS /* Collage block */ @media screen and (max-width:767px) { figcaption.image-card-wrapper { margin-top: 10px !important; } } 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
katieslee Posted February 6, 2021 Author Share Posted February 6, 2021 You're a legend! Link to comment
katieslee Posted February 21, 2021 Author Share Posted February 21, 2021 Sorry @tuanphan - another question! The code above ended up changing how all of my image blocks look on mobile (I've temporarily taken the text out of the image block to avoid this happening, screenshot of how it was appearing attached). Is there a way of applying this reduced margin to specific image block formats? I would like this margin to be reduce on "collages" only (ie. not images and captions formatted as 'stack', 'overlap' 'cards' and so on). Is this possible? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.