where should i put the code, thank you
Topic summary
A user seeks help compressing footer payment icons and aligning them to the right side of their Shopify store. They’ve added code to footer.liquid but the implementation isn’t working as intended.
Current Issue:
- Payment icons in the footer need to be compressed and right-aligned
- The user shared their website URL for troubleshooting
Proposed Solution:
A community member suggested creating a wrapper div (named “country-payment”) to contain both the country selector and payment icons, then applying CSS:
- Use
display: flexwithflex-direction: columnto stack elements vertically - Add
gap: 10pxfor spacing between items - Apply additional CSS to the payment icons container for proper alignment
The solution involves restructuring the HTML with a containing div and using flexbox properties to avoid conflicts and achieve proper alignment. The user is now asking where exactly to place this code in their theme files.