I used the {woo_cart_quantity}, I went to Custom CSS and styled it to become this below.
Now I want to adjust the size of the SVG button on mobile view, it didn’t work. Let me paste the code here
.action.plus svg {
display: none; /* Hides the original SVG */
}
.action.plus::after {
content: url("https://asyn.projecth.xyz/wp-content/uploads/2023/12/Frame-44.svg"); /* Replace with your actual URL */
display: inline-block;
@media only screen and (max-width: 768px) { /* Adjust breakpoint as needed */
width: 17px; /* New mobile width */
height: auto; /* Maintains aspect ratio */
}
}
.action.minus svg {
display: none; /* Hides the original SVG */
}
.action.minus::after {
content: url("https://asyn.projecth.xyz/wp-content/uploads/2023/12/Frame-45.svg"); /* Replace with your actual URL */
display: inline-block;
@media only screen and (max-width: 768px) { /* Adjust breakpoint as needed */
width: 17px; /* New mobile width */
height: auto; /* Maintains aspect ratio */
}
}