TheNattyD Posted December 16, 2020 Share Posted December 16, 2020 Site URL: https://amalfimedia.com/binge-test/3qf81s6jhgfr6aswexviakq9yyhe96-sg6rx-fyacd Hello all! So I have 4 "listen on" badges at the top of my blog for things apple podcasts, spotify, stitcher, and google podcasts. I've attached how they look on desktop and how they look on mobile. They are code element. Does anyone know how I can make the badges on mobile stack the same way they do on desktop? I'd like for Apple pod & spotify to be next to each other; google pod and stitcher next to each other. On mobile they all stack on top of each other. Thanks for the help! Beyondspace 1 Link to comment
Beyondspace Posted December 17, 2020 Share Posted December 17, 2020 16 hours ago, TheNattyD said: Site URL: https://amalfimedia.com/binge-test/3qf81s6jhgfr6aswexviakq9yyhe96-sg6rx-fyacd Hello all! So I have 4 "listen on" badges at the top of my blog for things apple podcasts, spotify, stitcher, and google podcasts. I've attached how they look on desktop and how they look on mobile. They are code element. Does anyone know how I can make the badges on mobile stack the same way they do on desktop? I'd like for Apple pod & spotify to be next to each other; google pod and stitcher next to each other. On mobile they all stack on top of each other. Thanks for the help! Use this css @media only screen and (max-width: 600px) { #block-8fa1184a2f92463bd584 + .row .span-2, #block-8fa1184a2f92463bd584 + .row .span-10{ width: 50% !important; float: left !important; } #block-8fa1184a2f92463bd584 + .row + .row .span-2, #block-8fa1184a2f92463bd584 + .row + .row .span-10{ width: 50% !important; float: left !important; } } @media only screen and (min-width: 600px) and (max-width: 768px) { #block-8fa1184a2f92463bd584 + .row .span-2, #block-8fa1184a2f92463bd584 + .row .span-10{ width: 30% !important; float: left !important; } #block-8fa1184a2f92463bd584 + .row + .row .span-2, #block-8fa1184a2f92463bd584 + .row + .row .span-10{ width: 30% !important; float: left !important; } } Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
TheNattyD Posted December 17, 2020 Author Share Posted December 17, 2020 6 hours ago, bangank36 said: Use this css @media only screen and (max-width: 600px) { #block-8fa1184a2f92463bd584 + .row .span-2, #block-8fa1184a2f92463bd584 + .row .span-10{ width: 50% !important; float: left !important; } #block-8fa1184a2f92463bd584 + .row + .row .span-2, #block-8fa1184a2f92463bd584 + .row + .row .span-10{ width: 50% !important; float: left !important; } } @media only screen and (min-width: 600px) and (max-width: 768px) { #block-8fa1184a2f92463bd584 + .row .span-2, #block-8fa1184a2f92463bd584 + .row .span-10{ width: 30% !important; float: left !important; } #block-8fa1184a2f92463bd584 + .row + .row .span-2, #block-8fa1184a2f92463bd584 + .row + .row .span-10{ width: 30% !important; float: left !important; } } You are amazing! Follow up question, if I did this for 100+ blog posts would it dramatically slow down my website? I know how to customize the code for each blog post but I also don't want to jeopardize the user loading experience. Thanks so much for a solution 🙂 Beyondspace 1 Link to comment
Beyondspace Posted December 17, 2020 Share Posted December 17, 2020 2 minutes ago, TheNattyD said: You are amazing! Follow up question, if I did this for 100+ blog posts would it dramatically slow down my website? I know how to customize the code for each blog post but I also don't want to jeopardize the user loading experience. Thanks so much for a solution 🙂 If you x100 this snippet it may add ~100kb to the site, i dont think it effect that much. But if you are after the most effective way, then javascript may need to be used Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment