Jump to content

Mobile order of images and text

Recommended Posts

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

Hi there,

I'm looking for help on reordering the text and image blocks for two specific parts of my website, just for mobile. I'm using Brine 7.0. I've read about 10+ forum threads so far on this topic and none of the code I've tried has worked. I'm stumped because usually I can figure these things out. Appreciate any help!

My website: www.victoriapmitchell.com
password: checkitout

Sections where I need help:

On mobile home page

Ideal order:
1. First photo (the one with the stairs in background)
2. Text block starting with "Welcome"
3. Button "Read my story"

On /talks

Everything is good until after the image of the cards
Ideal order:
1. Image of cards (as is)
2. Invite Me to Speak (header)
3. Text block starting with "I am available..."
4. Button "Inquire here"
5. Photo of me with microphone

Thank you so much!

Link to comment
  • Replies 4
  • Views 790
  • Created
  • Last Reply
3 hours ago, victoriapmitchell said:

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

Hi there,

I'm looking for help on reordering the text and image blocks for two specific parts of my website, just for mobile. I'm using Brine 7.0. I've read about 10+ forum threads so far on this topic and none of the code I've tried has worked. I'm stumped because usually I can figure these things out. Appreciate any help!

My website: www.victoriapmitchell.com
password: checkitout

Sections where I need help:

On mobile home page

Ideal order:
1. First photo (the one with the stairs in background)
2. Text block starting with "Welcome"
3. Button "Read my story"

On /talks

Everything is good until after the image of the cards
Ideal order:
1. Image of cards (as is)
2. Invite Me to Speak (header)
3. Text block starting with "I am available..."
4. Button "Inquire here"
5. Photo of me with microphone

Thank you so much!

Try this

[id='home/intro'] .sqs-layout .sqs-row:nth-child(2) {
  display: flex; 
  flex-wrap: wrap;
}
[id='home/intro'] .sqs-layout .sqs-row:nth-child(2) .sqs-col-6 {
  width: 100% !important;
}
[id='home/intro'] .sqs-layout .sqs-row:nth-child(2) .sqs-col-6:nth-child(1) {
  order: 2
}

#invite .sqs-layout .sqs-row:nth-child(1) {
  display: flex; 
  flex-wrap: wrap;
}
#invite .sqs-layout .sqs-row:nth-child(1) .col {
  width: 100% !important;
}
#invite .sqs-layout .sqs-row:nth-child(1) .sqs-col-5 {
  order: 2
}

image.png.cc1fceabbd134fa399c9b4dc056feb49.png

image.png.a9746a6855216935a4e5edf04cb5246a.png

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
4 hours ago, victoriapmitchell said:

For anyone looking at this later -- I did need to put all of the above code within...


@media screen and (max-width: 640px) {

[code above]

}

...so that it only was used for mobile. That way my layout for desktop stayed as it was originally (with text and photo side by side).

hah, I missed that, thank you for note that

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

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.