Variant Dropdown and Quantity Buttons Too Large After Code Change – Backup Didn't Fix the Issue

“I previously made some changes to the code on my product page, but I can’t remember exactly which part I modified. Now, the variant dropdown, as well as the +/– quantity buttons, are 5x larger than they should be. I tried restoring my older code from a backup, but the problem persists. Any advice on how to troubleshoot and fix this?”

@Sohayl67 ,

Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above


Result:

If it helps you, please like and mark it as the solution.

Best Regards :blush: