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

Image block on mobile - reducing padding around text


Question

8 answers to this question

Recommended Posts

  • 1

Hi,

You could try the below if you want it side-wide (mobile only)

@media screen and (max-width:767px) {
.image-card-wrapper .sqs-dynamic-text-container {
    padding: 15px !important;
}
}

Or if you just want that particular section that you've screenshotted it would be:

@media screen and (max-width:767px) {
[data-section-id="6035cd4ae85bca53ec1e45af"] .image-card-wrapper .sqs-dynamic-text-container {
    padding: 15px !important;
}
}

Thanks!

Erika

Link to comment
  • 0
On 3/20/2021 at 3:18 AM, Polinamireau said:

Thank you so much Erika! That code worked perfectly!

Now that I've done that, I'm wondering how might I edit a stacked image block that shows the photo at the top of the text on desktop, but on mobile it shows photo at the bottom of the text? I would like the photo to be at the top of the text no matter what width.

Page: https://sealion-poodle-8mph.squarespace.com/about

(halfway down)

 

784797319_ScreenShot2021-03-19at2_16_38PM.thumb.png.189591623d911158f77322a972b2dcc3.png

Do you still need help?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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