Shopify themes, liquid, logos, and UX
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:
Mobile:
Please help?
Thanks
Colienne
Solved! Go to the solution
This is an accepted solution.
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!
Please share your stroe url!
Thanks!
This is an accepted solution.
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!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024