Why is my image out of place on mobile view in Debut theme?

Solved

Why is my image out of place on mobile view in Debut theme?

colsanderson
Tourist
8 0 2

Hi, 

 

On my Home page using Debut theme, I have a custom section with some text and an image. On desktop view the text and image are perfect, however in mobile view the text is in a column on the left and the image on the right. I'd like to change the mobile view only so that the image is below the text and the text fills the screen. 

 

Desktop: 

colsanderson_0-1637612585552.png

 

 

Mobile: 

colsanderson_1-1637612602749.png

 

 

 

Please help? 

 

Thanks

Colienne

Accepted Solution (1)
dmwwebartisan
Shopify Partner
12321 2552 3728

This is an accepted solution.

@colsanderson 

Please add following css your assets/theme.css bottom of the file.

@media only screen and (max-width: 749px){
.custom__item.small--one-half {
    -webkit-flex: 1 0 100% !important;
    -moz-flex: 1 0 100% !important;
    -ms-flex: 1 0 100% !important;
    flex: 1 0 100% !important;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
}

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app

View solution in original post

Replies 4 (4)

dmwwebartisan
Shopify Partner
12321 2552 3728

@colsanderson 

Please share your stroe url!

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
colsanderson
Tourist
8 0 2
dmwwebartisan
Shopify Partner
12321 2552 3728

This is an accepted solution.

@colsanderson 

Please add following css your assets/theme.css bottom of the file.

@media only screen and (max-width: 749px){
.custom__item.small--one-half {
    -webkit-flex: 1 0 100% !important;
    -moz-flex: 1 0 100% !important;
    -ms-flex: 1 0 100% !important;
    flex: 1 0 100% !important;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
}

Thanks!

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app
colsanderson
Tourist
8 0 2

@dmwwebartisan thanks!