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 |
---|---|
203 | |
170 | |
79 | |
56 | |
49 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023