Home › Forums › WoodMart support forum › Unit of measure and price overlapped only on a certain category on mobile › Reply To: Unit of measure and price overlapped only on a certain category on mobile
June 11, 2024 at 1:52 pm
#572001
Aizaz Imtiaz Awan
Keymaster
Hello,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS:
/* iPhone 12 Pro Max, 13 Pro Max */
@media only screen and (min-device-width: 428px) and (max-device-width: 926px) and (-webkit-min-device-pixel-ratio: 3) {
.wd-price-unit {
margin-inline-start: 10px !important;
}
}
min-device-width and max-device-width: These properties define the range of device widths to target specific iPhone models.
-webkit-min-device-pixel-ratio:
This property ensures the media query only applies to devices with a specific pixel density, which is common for iPhones.
Best Regards.