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

Image block qu: show different offset on desktop and mobile


katieslee

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Add to Design > Custom CSS /* Collage block */ @media screen and (max-width:767px) { figcaption.image-card-wrapper { margin-top: 10px !important; } }  

Posted Images

3 answers to this question

Recommended Posts

  • 0

Add to Design > Custom CSS

/* Collage block */
@media screen and (max-width:767px) {
figcaption.image-card-wrapper {
    margin-top: 10px !important;
}
}

 

Link to post
  • 0

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?

image0.png

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