Jump to content

Creating a Download button

Recommended Posts

Greetings

 

I'm trying to create a true download button — NOT a file "get" that opens in another Window/Tab…

 

Basic code should be along the lines of:

<a download href="asset_path/brochure.pdf">
  Download Brochure
</a>

I've had no success at integrating this into an existing button though.

Any Suggestions hmmm?

 

Thanks

 

 

 

 

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Why dont you add a Button Block >> then in button url > click gear icon > Click File > Upload a file 

When users click button >> the file will be downloaded (except pdf, word...it will open in browser)

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
16 hours ago, tuanphan said:

Why dont you add a Button Block >> then in button url > click gear icon > Click File > Upload a file 

When users click button >> the file will be downloaded (except pdf, word...it will open in browser)

 

Client specifically wants the PDF to be downloaded, then opened by the recipient in a true PDF viewer.

There's too much variance in the way different web browsers' built-in PDF viewer are rendering the PDF – particularly spread/page view and interactive features. The PDF is created in Adobe Acrobat and is (relatively) standards-compliant.

Thanks

 

Link to comment
8 hours ago, BrentAC said:

 

Client specifically wants the PDF to be downloaded, then opened by the recipient in a true PDF viewer.

There's too much variance in the way different web browsers' built-in PDF viewer are rendering the PDF – particularly spread/page view and interactive features. The PDF is created in Adobe Acrobat and is (relatively) standards-compliant.

Thanks

 

I have no idea, you can consider compress it in a zip file then attach to button.

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.