Shopify themes, liquid, logos, and UX
This is an accepted solution.
<style>
@media screen and (max-width: 749px) {
media-gallery .slider.slider--mobile {
max-height: 370px !important;
}
.media>img, .media>video, .media>internal-video video {
max-height: 370px !important;
object-fit: contain !important;
}
.product-media-container .media {
padding-top: 370px !important;
}
}
</style>
Please replace to this code @David235
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Hello @David235 . What is the problem you are having?
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
There is no problem with the pictures and videos on the PC, but on the mobile phone, the pictures and videos are not aligned, resulting in large blank spaces between the pictures and titles.
This is my website: wholesalecrystalstone.com
You can check out my product page
- Here is the solution for you @David235
- Please follow these steps:
- Then find the theme.liquid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.
<style>
@media screen and (max-width: 749px) {
media-gallery .slider.slider--mobile {
max-height: 370px !important;
}
}
</style>
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Is this all we can do?
That's right. Is there anything else you'd like to edit?
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Can the product image be title aligned, and the video be shown in its entirety?
I see that the video and pictures can be slid, so the video cannot be fully displayed.
<style>
@media screen and (max-width: 749px) {
media-gallery .slider.slider--mobile {
max-height: 370px !important;
}
.media>img, .media>video, .media>internal-video video {
max-height: 370px !important;
object-fit: contain !important;
}
}
</style>
Yes, Can you replace to this code @David235
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
I think it still doesn't work, so I'll change the video size format. This is not user-friendly at all.
This is an accepted solution.
<style>
@media screen and (max-width: 749px) {
media-gallery .slider.slider--mobile {
max-height: 370px !important;
}
.media>img, .media>video, .media>internal-video video {
max-height: 370px !important;
object-fit: contain !important;
}
.product-media-container .media {
padding-top: 370px !important;
}
}
</style>
Please replace to this code @David235
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Awesome!! Thank you
Glad to help you. Have a good day @David235 .
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024