Jump to content

Button does something different on mobile than on web

Recommended Posts

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
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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, Keyword Highlighter
If 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.