Websites · 1 min read
Let a Button Download a File
The file has to live in your media library. The action does not use a file stored only in another drive or a changing link. One element downloads one file. Zip several files and attach the ZIP when people should get more than one.
Before you start
- Works on buttons, images, and SVGs.
- Use a file name people will recognize, and a button label that says what will download.
- Replacing or deleting the library file can break a download already saved on the page. Attach the final file.
Attach the file
- Go to Sites, then Websites or Funnels.
- Open the page and click Edit.
- Select the button, image, or SVG.
- For a button, open Button Actions and set Link To to Download File.
- For an image, set Image Action to Download File.
- For an SVG, set SVG Action to Download File.
- Click Select File.
- Choose a library file, or upload one.
- In File Name, type the name visitors should see when the file saves.
- Save the page and publish.
- Click the control on the published page.
You should see
The file downloads without leaving the page. A phone may ask which app should open it. If nothing happens, the action is unset or no file is attached. If the download is broken, the library file was removed or replaced. To open a file in a new browser tab instead of downloading it, use Open URL in New Tab.