Jump to content

Stacking images on mobile

Recommended Posts

Site URL: https://roamerbatteries.com/bms-app

Hello, 

Please may you help? 

I am trying to keep the 'app store' and 'play' logo side by side on mobile rather than stacked on top of each. I have figured out how to reduce the size of them but cannot figure out how to create two columns (top section of my website)

I would also like the section 'Check battery status, faults and alarms' to stack text first on mobile as looks weird. It would be great if it was the same order as 'Monitor real-time data from you phone' and 'Control and configure battery protection' sections.

 

Thank you

Holly

Screenshot 2022-01-18 at 12.21.17.png

Screenshot 2022-01-18 at 12.21.50.png

Link to comment
  • Replies 5
  • Views 414
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

1 hour ago, Roamer said:

Site URL: https://roamerbatteries.com/bms-app

Hello, 

Please may you help? 

I am trying to keep the 'app store' and 'play' logo side by side on mobile rather than stacked on top of each. I have figured out how to reduce the size of them but cannot figure out how to create two columns (top section of my website)

I would also like the section 'Check battery status, faults and alarms' to stack text first on mobile as looks weird. It would be great if it was the same order as 'Monitor real-time data from you phone' and 'Control and configure battery protection' sections.

 

Thank you

Holly

Screenshot 2022-01-18 at 12.21.17.png

Screenshot 2022-01-18 at 12.21.50.png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1638797498466_3708 + .row {
    display: flex;
  }

  #block-yui_3_17_2_1_1638797498466_3708 + .row  > .col {
    width: 100% !important;
  }

  #block-yui_3_17_2_1_1638797498466_3708 + .row  > .col > .image-block {
    width: 100% !important;
    padding: 0;
  }

  #block-yui_3_17_2_1_1638797498466_3708 + .row  > .col:last-child {
    display: none;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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

Thank you for getting back to me so soon and your code 🙂

The first part has worked apart from it isn't inline with my text anymore? Is that possible?

The text hasn't stacked above the image on the second request. 

I have attached two screenshots to help with problem.

 

Thanks

Holly

 

Screenshot-2022-01-18-at-16_27_10.thumb.png.cd07bdbcf03da077c528d6781967c2a6.png

 


Screenshot-2022-01-18-at-16_27_54.thumb.png.a9c9b2eaf436737db1b1541231c18a21.png

Link to comment
21 hours ago, Roamer said:

Also, sorry if you can't find the page anymore it's www.roamerbatteries.com/support/bms-app

Add to Design > Custom CSS

/* BMS APP - Mobile - check battery */
@media screen and (max-width:767px) {
div#page-section-61af3c24b7c5683520d5bd8b .span-11>.row {
    display: flex;
    flex-direction: column-reverse;
}
}

 

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.