Can't get download button to work
Hi Guys,
I'm using a button shortcode on a page to download a PDF file that is on the server in the root folder called 'Downloads' - here is the code I'm using:
[button title="Download your eguide" icon="icon-down-open-big" icon_position="right" link="" target="_blank" color="#F18800" font_color="#FFFFFF" large="i" class="" download="http://trailermybike.com/downloads/have your cake and eat it.pdf" onclick=""]
In IE I just get a blank page when the button is clicked and in Firefox it wants to ope it as an HTML file.
Any ideas where I'm going wrong?
Thanks in advance.
I'm using a button shortcode on a page to download a PDF file that is on the server in the root folder called 'Downloads' - here is the code I'm using:
[button title="Download your eguide" icon="icon-down-open-big" icon_position="right" link="" target="_blank" color="#F18800" font_color="#FFFFFF" large="i" class="" download="http://trailermybike.com/downloads/have your cake and eat it.pdf" onclick=""]
In IE I just get a blank page when the button is clicked and in Firefox it wants to ope it as an HTML file.
Any ideas where I'm going wrong?
Thanks in advance.
Comments
the problem can be related with empty spaces in pdf file name. Please instead of spaces use sings like "-" and check if this will help you.
Thanks!