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

2 Image Blocks 1 Row | Mobile

Question

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.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

Try inspecting element with this tool


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


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