Reverse column layout on Mobile

Solved
sotangy
Shopify Partner
13 1 1

Hello!

 

I have a custom content section of Testimonial + Slider on desktop

 

I want to have the Slider show up first on mobile.

 

Currently, it looks like this:

 

Screen Shot 2022-11-24 at 10.28.04 AM.png

I'm not sure how to pick apart the code to reorder these items.

 

https://viellabeaute.com/pages/about

password: viella

 

Thanks in advance 🙂

Accepted Solution (1)
GemPages
Shopify Partner
5586 1259 1118

This is an accepted solution.

Hello @sotangy ,

 

I would like to give you a recommendation to support you:

 

1. Go to Online Store > Theme > Edit code of your current theme

GemPages_0-1669311672741.png

 

2. Open your theme.liquid theme file


3. Paste the below code before </head>

<style>
@media(max-width: 767px){
  #BrickSection--template--17052840722745__4cc1f7ed-f7b9-4100-9380-ad3b23ac26b4 .brick__section.brick--2 {
    display: flex;
    flex-direction: column-reverse;
  }
}
</style>

 

For example,

GemPages_1-1669312241474.png

 

If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 3 (3)
GemPages
Shopify Partner
5586 1259 1118

This is an accepted solution.

Hello @sotangy ,

 

I would like to give you a recommendation to support you:

 

1. Go to Online Store > Theme > Edit code of your current theme

GemPages_0-1669311672741.png

 

2. Open your theme.liquid theme file


3. Paste the below code before </head>

<style>
@media(max-width: 767px){
  #BrickSection--template--17052840722745__4cc1f7ed-f7b9-4100-9380-ad3b23ac26b4 .brick__section.brick--2 {
    display: flex;
    flex-direction: column-reverse;
  }
}
</style>

 

For example,

GemPages_1-1669312241474.png

 

If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
sotangy
Shopify Partner
13 1 1

Thank you! This worked perfectly 😄

GemPages
Shopify Partner
5586 1259 1118

Hi @sotangy,

 

I am glad that my recommendation is helpful to you 😁.

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center