A user needed to reposition an “NHS Approved Supplier” logo to appear on the same line as the quantity selector on a product page, specifically wanting the layout: “Quantity” label → number selector → NHS logo (left to right).
Initial approach:
User shared Ruby/Liquid template code that conditionally displays the NHS logo based on product tags
Included screenshots showing the current layout with elements stacked vertically
Solution provided:
Add display:flex; align-items:center; to the parent span element
Use CSS flexbox order property in theme.scss.css to control element positioning:
label.quantity-selector{order: 1;}
.addToCartForm .js-qty{order: 2;}
.addToCartForm span img{order: 3;}
Outcome:
The issue was resolved successfully. The final implementation achieved the desired horizontal layout with all three elements properly aligned on the same line.
Summarized with AI on October 31.
AI used: claude-sonnet-4-5-20250929.