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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.