smithy_sw Posted March 11, 2022 Share Posted March 11, 2022 I'm using code blocks to add svg illustrations to my site which is working great. But does anyone know if there's a way to swap out an alternative svg code block on mobile? Any help will be much appreciated. Link to comment
Beyondspace Posted March 11, 2022 Share Posted March 11, 2022 34 minutes ago, smithy_sw said: I'm using code blocks to add svg illustrations to my site which is working great. But does anyone know if there's a way to swap out an alternative svg code block on mobile? Any help will be much appreciated. I think we can by adding you alternative svg code block on mobile and using media query to display or hide the appropriate block https://www.w3schools.com/css/css_rwd_mediaqueries.asp Hope it makes sense 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
smithy_sw Posted March 14, 2022 Author Share Posted March 14, 2022 On 3/11/2022 at 4:33 PM, bangank36 said: I think we can by adding you alternative svg code block on mobile and using media query to display or hide the appropriate block https://www.w3schools.com/css/css_rwd_mediaqueries.asp Hope it makes sense Thanks for the advice. I'll take a look and see if I can work it out 🙂 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