Hi,
We did 3 things:
1- Tried fixing it ourselves and improved the desktop?version.
2- Tested WooCommerce’s official Storefront theme a try. However the mobile design is not working properly there either, see the?screenshot (although acknowledging this setup might still have been impacted by our existing code snippets / plugins)
3- Reached out to the theme developer and they said it might be due to the plugin not using different classes appropriately. Still they were kind enough to offer some improvements for the mobile version.
Ask:?Could you please adopt these improvements so that everyone can benefit from these and that we do not have to manage separate CSS files? Also would be great if you could make sure to have a good UI for the standard Woocommerce theme Storefront and also popular themes like Neve ??
/*DESKTOP CSS, IN HOUSE*/
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text{
margin-left:30px;
width: 170px;
}
.shop_table.cart .mwb_wpr_apply_custom_points #mwb_cart_points{
margin-left: 60px;
border-style:solid;
border-color: grey;
background-color: white;
border: 1px solid #d3ced2;
}
.mwb_wpr_apply_custom_points{
width: 87%;
}
.woocommerce #respond input#submit.disabled, .woocommerce #respond input#submit:disabled, .woocommerce #respond input#submit:disabled[disabled], .woocommerce a.button.disabled, .woocommerce a.button:disabled, .woocommerce a.button:disabled[disabled], .woocommerce button.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled], .woocommerce input.button.disabled, .woocommerce input.button:disabled, .woocommerce input.button:disabled[disabled]{
opacity: 1;
margin-top: -40px;
width: 47%;
}
/* MOBILE CSS, THEMEISLE – THE THEME DEVELOPER */
.shop_table.cart .mwb_wpr_apply_custom_points #mwb_cart_points {
? ? height: auto!important;
}
input#mwb_cart_points {
? ? border-style: solid!important;
? ? border-color: var(--formFieldBorderColor)!important;
? ? border-width: var(--formFieldBorderWidth)!important;
? ? border-radius: var(--formFieldBorderRadius,3px)!important;
? ? background-color: var(--formFieldBgColor)!important;
? ? color: var(--formFieldColor)!important;
? ? padding: var(--formFieldPadding)!important;
? ? text-transform: var(--formFieldTextTransform)!important;
? ? font-weight: var(--formFieldFontWeight)!important;
? ? font-family: var(--bodyFontFamily)!important;
? ? font-size: var(--formFieldFontSize)!important;
? ? letter-spacing: var(--formFieldLetterSpacing)!important;
? ? line-height: var(--formFieldLineHeight)!important;
? ? width:100%!important;
? ? max-width: unset!important;
? ? margin-bottom:5px!important
? ? }
? ? .mwb_wpr_apply_custom_points {
? ? ? ? float: none!important;
? ? ? ? padding-bottom: 0.5em!important;
? ? ? ? /* height: 430px; */
? ? }
button#mwb_cart_points_apply {
? ? cursor: pointer;
? ? box-sizing: border-box;
? ? background-color: var(--secondaryBtnBg);
? ? color: var(--secondaryBtnColor);
? ? border-style: solid;
? ? border-color: currentColor;
? ? fill: currentColor;
? ? border-width: var(--secondaryBtnBorderWidth,0);
? ? border-radius: var(--secondaryBtnBorderRadius,3px);
? ? padding: var(--secondaryBtnPadding,7px 12px);
? ? font-weight: var(--btnFontWeight,700);
? ? font-size: var(--btnFs,var(--bodyFontSize));
? ? line-height: var(--btnLineHeight,1.6);
? ? letter-spacing: var(--btnLetterSpacing);
? ? text-transform: var(--btnTextTransform,none);
? ? border-radius: 9px!important;
}
.mwb_wpr_apply_custom_points p {
? ? width: 49%!important;
? ? display: inline-block!important;
}
@media only screen and (min-width: 769px) {
? ? ? ? input#mwb_cart_points {
? ? ? ? ? ? max-width: 170px!important;
? ? ? ? ? ? display:inline-block!important;
? ? ? ? }
? ? button#mwb_cart_points_apply {
? ? ? ? display:inline-block!important;
? ? ? ? width:auto;
? ? ? ? margin-right:0px;
? ? }
}
.woocommerce-cart table.cart td.actions .coupon {
? ? margin-left: 0px!important;
}
button#mwb_cart_points_apply {
? ? padding: 12px!important;
? ? margin: 0!important;
}
.woocommerce-cart-form__contents button.button {
? ? padding: 13px!important;
? ? min-width:180px!important
}
@media only screen and (min-width: 960px) {
button#mwb_cart_points_apply {
? ? padding: 16px!important;
}
}