Hello,
these steps worked for the same problem on a different website. Probably the 1st isn’t needed in this case. Please try them out:
This moves Add to cart button to the next line instead of keeping it in the same line through inline-block
:
form.cart button[type=submit]:not(#qib_id):not(#qib_id), .add_to_cart_button:not(#qib_id):not(#qib_id), form.cart .qib-container+div:not(#qib_id):not(#qib_id) {
display: block;
}
Because display: flex
eliminates a break which appeared after display: inline-block
, margin-bottom
needs to be added:
.qib-container:not(#qib_id):not(#qib_id) {
display: flex;
margin-bottom: 10px;
}
Change input
element to have 100% of available width instead of a fixed number of pixels from plugin’s settings:
.qib-container .quantity input.qty:not(#qib_id):not(#qib_id) {
width: 100%;
max-width: 100%;
}
div
container of the input
element needs to be similarly resized:
.qib-container div.quantity:not(#qib_id):not(#qib_id) {
width: 100%;
max-width: 100%;
}
Best regards,
Ryszard
-
This reply was modified 4 years, 10 months ago by
taisho.