product__media-item.grid__item {
margin-bottom: -10px;
}
Topic summary
A user sought help removing unwanted margins between product photos on their product page.
Solution provided:
- Initial CSS suggestion targeted
.product__media-item.grid__itemwithmargin-bottom: -10px - When the first attempt didn’t work, adding
!importantto the CSS rule resolved the issue
Outcome:
The problem was successfully resolved using the modified CSS code with the !important declaration.