Posted - 09/20/2026 : 16:09:50
The problem is caused by each product box being set to 49% width while the Ecommerce Templates option fields retain wider sizing. The dropdown then overflows its product box.
Add this CSS immediately after the existing div.product rules:
/* Keep product options inside each product box */ div.product { width: 49%; min-width: 0; box-sizing: border-box; }
div.product .optioncontainer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; column-gap: 8px; width: 100%; box-sizing: border-box; }
div.product .optiontext, div.product .option { width: auto; min-width: 0; box-sizing: border-box; }
div.product select.prodoption, div.product input[type="text"].prodoption { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
@media screen and (max-width: 800px) { div.product { width: 99%; } }
Your complete existing inline section would become:
<style type="text/css"> div.category { width: 49%; }
div.product { width: 49%; min-width: 0; box-sizing: border-box; }
div.product .optioncontainer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; column-gap: 8px; width: 100%; box-sizing: border-box; }
div.product .optiontext, div.product .option { width: auto; min-width: 0; box-sizing: border-box; }
div.product select.prodoption, div.product input[type="text"].prodoption { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
@media screen and (max-width: 800px) { div.category, div.product { width: 99%; } } </style>
This keeps the labels on the left and makes every “Please Select…” dropdown shrink to the available space inside its product box. No changes to the generated product HTML are needed.
Patrick

|