Jump to content

Order of images/video on mobile

Recommended Posts

Posted

Site URL: http://www.whoiscooper.com/

The order of my images/video on my mobile site are supposed to be above the text. But currently, the video on the home page (under the "television" section) is below the content, not above the title like the rest of the images. 

I had this done through custom css a while ago, but somehow lost this bit of css while doing some minor edits. 

Any help or ideas appreciated. 

Also, if it's not too much trouble, the sizing of images next to text on tablet/ipad view are pretty squished. I'd much prefer these images to stack much earlier. 

  • Replies 11
  • Views 841
  • Created
  • Last Reply
Posted
2 hours ago, whoiscooper said:

Site URL: http://www.whoiscooper.com/

The order of my images/video on my mobile site are supposed to be above the text. But currently, the video on the home page (under the "television" section) is below the content, not above the title like the rest of the images. 

I had this done through custom css a while ago, but somehow lost this bit of css while doing some minor edits. 

Any help or ideas appreciated. 

Also, if it's not too much trouble, the sizing of images next to text on tablet/ipad view are pretty squished. I'd much prefer these images to stack much earlier. 

Could you try this

@media only screen and (max-width: 768px) {
      #block-yui_3_17_2_1_1586267996596_44438 + .row + .row {
        display: grid;
      }
      #block-yui_3_17_2_1_1586267996596_44438 + .row + .row .sqs-col-6 {
        width: 100%;
      }
      #block-yui_3_17_2_1_1586267996596_44438 + .row + .row .sqs-col-6:first-child {
        order: 3;
      }
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

Although the sizing 

7 minutes ago, bangank36 said:

Could you try this


@media only screen and (max-width: 768px) {
      #block-yui_3_17_2_1_1586267996596_44438 + .row + .row {
        display: grid;
      }
      #block-yui_3_17_2_1_1586267996596_44438 + .row + .row .sqs-col-6:first-child {
        order: 3;
      }
}

 

Although the sizing on the ipad view is now a little strange. It's all to the left. 

Screen Shot 2021-01-02 at 11.32.07 PM.png

Posted

 

7 hours ago, bangank36 said:

Just update the code, if you want the table view to display side by side, change value 768px to 640px

That works. Love it. Do you think it's possible to force stack the images in ipad view rather than side by side. It's already working in one section but not the rest (see screen shot). Not a huge deal. Just one of those annoying little things. 

Screen Shot 2021-01-03 at 7.30.37 AM.png

Posted
On 1/3/2021 at 7:32 PM, whoiscooper said:

 

That works. Love it. Do you think it's possible to force stack the images in ipad view rather than side by side. It's already working in one section but not the rest (see screen shot). Not a huge deal. Just one of those annoying little things. 

Screen Shot 2021-01-03 at 7.30.37 AM.png

Do you still need this?

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!)

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.