Jump to content

2 Image Blocks 1 Row | Mobile

Recommended Posts

Hello community,

I have some code on a team page I am building so when users are on mobile, it stacks two images beside each other. Within my squarespace preview the code works and also when I view it on google inspect for iPhone 6/7/8. However, when I tested to see if it would work on my iPhone 7, it is displaying like so:  https://gyazo.com/0374af93e63bc64e755098b3dff05cb7

Should appear like this: https://gyazo.com/6898e66c0b602636e664398ab5b5eb89

Here is the code I am currently using: 

@media screen and (max-width:840px) {
div#block-yui_3_17_2_1_1573641271213_15311+.row>.col {
    width: 50% !important;
}
div#block-yui_3_17_2_1_1573641271213_15311+.row {
    display: flex;
    flex-wrap: wrap;
}
}

Any help appreciated - If you need access to my website, please let me know and I can message you the details.

Link to comment
  • Replies 1
  • Views 536
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

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