Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi again - I asked for help on April 28, 2023 and didn't receive help so I'm trying again. I have also searched the community forums and have tried various codes mentioned and none have worked so far.
How do I get images to adjust on all screens using the Origin theme? Thank you in advance for your assistance.
Here is a preview of the store: https://4qazfyewljxbgawm-29118496907.shopifypreview.com
Hi @luvthemama
It is a little complicated when we try to adjust the same images in all devices since some device will need a landscape photo and others will be portrait. That is a reason I came up with the solution to have a different section on desktop and on mobile. Please follow the instructions in the video
Thank you! I'm going to give this a try.
Hello @luvthemama,
To make images responsive on all the screens, you can simply follow the below steps.
.banner {
display: block !important;
min-height: auto !important ;
}
.banner__media.media {
height: auto !important;
}
.banner__content {
display: none;
}
.banner__media.media img {
position: static !important;
height: auto !important;
}
Hope this helps; let us know if you have any questions.
Regards,
CedCommerce
Thank you so much. Unfortunately that did not work.
I also went back and removed the spaces in between each { symbol and that didn't affect the layout either.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024