Jump to content

Blocks not aligned on mobile

Go to solution Solved by tuanphan,

Recommended Posts

11 hours ago, jilldiane_ said:

Site URL: https://gopher-antelope-sfzz.squarespace.com/

Hey for some reason my one block is not aligned to the block beside it when i change to mobile view. Does anyone have any insight? Images below 

PW: 1234

2114994005_ScreenShot2021-12-29at10_40_23.png.4d6fb1eda57931b875648d74482ab992.png1092963080_ScreenShot2021-12-29at10_40_18.thumb.png.569cd007c69d2600e919ab3ac87f214b.png

 

Try

@media only screen and (max-width: 767px) {
  div#page-section-60cd165f32da3f557a42125b>.row>.col>.row {
    display: flex;
    flex-wrap: wrap;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Testing result

 

image.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • Solution
On 12/31/2021 at 5:32 AM, jilldiane_ said:

Hi, 

Thank you so much for your response. When i do it they disappear.. thoughts?

339608880_ScreenShot2021-12-30at14_31_29.thumb.png.4e636d8f0aa6cbeaf9e64fcf2b86e356.png

 

Remove above code & add new code

/* align 4 logos mobile */
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1625253366649_20873+.row>.span-3 {
    width: 50% !important;
    float: left !important;
}
div#block-yui_3_17_2_1_1625253366649_20873+.row>.span-3:nth-child(2n+1) {
    clear: left;
}
}

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

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