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!
User | RANK |
---|---|
163 | |
141 | |
70 | |
66 | |
55 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023