Add This Code In Edit Code > Base.css File
@media screen and (max-width:767px) {
.header__heading-logo{
width: 100%;
}
.header__heading-link{
padding: 0 !important;
}
}
A user wants to remove padding around product images on mobile view in Shopify’s Dawn theme to make them full-width, providing before/after screenshots to illustrate the desired outcome.
Initial Solutions Provided:
.page-width, .product-media-container, and header elementsbase.css or using Theme Settings > Custom CSS@media queries for screens under 749-767px widthKey Implementation:
One solution successfully removed padding by targeting:
.grid--peek.slider left margin.slider__slide top marginsection#MainProduct right paddingThis was confirmed working by one user with visual proof.
Ongoing Issues:
Status: Discussion remains active with unresolved cases. Users continue seeking working CSS solutions, with some offering payment for assistance.
Add This Code In Edit Code > Base.css File
@media screen and (max-width:767px) {
.header__heading-logo{
width: 100%;
}
.header__heading-link{
padding: 0 !important;
}
}