Andrew1198 Posted July 29, 2022 Share Posted July 29, 2022 How do I get a button to do something different on mobile than on web? I want the button to send people to the App Store if they are on mobile. However, if they are on web, I want to send them to a different page to ask for their cell phone. Is there a way to do that? i.e. send people to different URLs depending on if they are mobile or web. Link to comment
Beyondspace Posted July 29, 2022 Share Posted July 29, 2022 50 minutes ago, Andrew1198 said: How do I get a button to do something different on mobile than on web? I want the button to send people to the App Store if they are on mobile. However, if they are on web, I want to send them to a different page to ask for their cell phone. Is there a way to do that? i.e. send people to different URLs depending on if they are mobile or web. Creating 2 button with 2 link. Using Css code to display the appropriate button based on the device breakpoint Hope it makes sense BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates) If you find my answer useful, 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