How do I change the width and position to the left on desktop for the spotify embed playlist, and keep it centred on mobile?
website: 1989streetwear.com
pw: bet1989
A user seeks to adjust a Spotify embed playlist in their Shopify store footer: left-aligned with custom width on desktop, but centered on mobile.
Proposed Solution:
width attribute from 100% to a desired percentage (e.g., 80%)<center> and </center> tags for alignmentCurrent Status:
The suggested approach worked for the responder, but it centers the embed rather than left-aligning it on desktop. The solution doesn’t address the mobile-specific centering requirement or true left-alignment on desktop, suggesting additional CSS may be needed for responsive positioning.
How do I change the width and position to the left on desktop for the spotify embed playlist, and keep it centred on mobile?
website: 1989streetwear.com
pw: bet1989
Hey!
If you head to Edit code and find your Spotify embed, you should see that after src=link there is a “width” option that will say 100%, you can change this to whatever you like (I’ve used 80% as an example highlighted below in bold)
You can then surround the embeded code with then
{% sections 'footer-group' %}This worked for me and I hope it works for you!