Shopify themes, liquid, logos, and UX
Hi there,
Can anyone advise on how to keep the white space consistent for all types of screens?
Store link: https://ee15bf-83.myshopify.com/products/wella-professionals-6-welloxon-perfect-20-volume-developer?...
Monitor:
Laptop:
Thanks!
Solved! Go to the solution
This is an accepted solution.
You can edit the question piece section-main-product.css on line 1333
.product-media-container.constrain-height {
--viewport-offset: 170px;
--constrained-min-height: 500px;
}
to
.product-media-container.constrain-height {
--viewport-offset: 170px;
--constrained-min-height: 100%;
}
can you please put below code into your theme file called base.css file
.product:not(.product--columns) .product__media-list .product__media-item .product-media-container {
width: 100%;
height: 100%;
--constrained-min-height: 100% !important;
}
Online Store > Edit Code > Theme Files > Assets Files > base.css
Thanks
This is an accepted solution.
You can edit the question piece section-main-product.css on line 1333
.product-media-container.constrain-height {
--viewport-offset: 170px;
--constrained-min-height: 500px;
}
to
.product-media-container.constrain-height {
--viewport-offset: 170px;
--constrained-min-height: 100%;
}
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025