-
AuthorPosts
-
September 26, 2018 at 2:50 pm #1014759
Hi Enfold team,
On this page http://shedoesitcoaching.com/first-step-to-a-better-work-life-balance/
I would like to make a link to a pdf document so people can download it when they click on the following text.“Download my 15 tips & challenges here”
I’ve uploaded the pdf-document, but when I copy the URL and link it to the text it gives an error.
Could you help me with that please?
Thanks,
EefkeSeptember 26, 2018 at 8:06 pm #1014973Hey Eefke,
I see no link on that page. How are you trying to add the link to the file?
Best regards,
VictoriaSeptember 26, 2018 at 9:11 pm #1014992Hi Victoria,
I’ve uploaded the pdf document (I can see it in media|) and I thought to copy the URL of that document to the text. But that didn’t work.
Do you know how I can make a link to the pdf document that will work?
Thanks.
EefkeSeptember 27, 2018 at 7:59 am #1015139Hi,
If you click Add Media in the text block it will add a link to the document automatically for you, I just did that. Please review your page.
Best regards,
RikardSeptember 27, 2018 at 12:40 pm #1015263Hi Rikard,
Thanks for your help!
So it is not possible to make a link to the pdf in the text? So for example is it possible to make a link from the word ‘here’ in the sentence ‘Download my 15 tips & challenges here’.When I click on the link you’ve made I get an error: 403 forbidden error (see the private content).
Any idea what’s the problem?Thanks in advance.
EefkeSeptember 27, 2018 at 1:27 pm #1015270Hi!
I think the link per se is not the problem but your download manager plugin restricts the access to the file. You need to replace the url of the file with the url I posted in the private field/content
Regards,
PeterSeptember 27, 2018 at 2:13 pm #1015291Hi Peter,
Thanks for your quick reply! Yes it worked. Great!
Where can I find what the right URL is, and can I change the name of the URL?Because I want to do it more often ;)
EefkeSeptember 27, 2018 at 2:25 pm #1015297for those who likes to know how to make it and could not read the private content:
try this here:One possible method could be to do this by defining the type :
but the pdf has to be on your own server – does not work with global links from elsewhere:<a class="pdf-download" href="https://www.w3.org/2003/01/Consortium.pdf" target="_blank" type="application/octet-stream" download="Consortium.pdf"><img src="https://www.w3.org/2008/site/images/logo-w3c-screen-lg" alt="W3Schools" ></a>
see here: https://webers-testseite.de/weber/direct-downlaod-a-pdf/
with download= : you can determine the default download name
with that class it is easier to style the link. f.e. remove overlay etc.see the right “button” with that class: pdf-download
.pdf-download { display: inline-block !important; overflow: visible !important } .pdf-download .image-overlay { display:none !important } .pdf-download::before { content: ""; background-image: url(https://webers-testseite.de/weber/wp-content/uploads/2018/09/PDF-Icon.png); background-repeat: no-repeat; background-size: 30%; background-position: 0 0 ; transition: all ease-in-out 1s; position: absolute; width: 100%; height: 100%; top: -30px; left: calc(100% - 40px); z-index: 5; } .pdf-download:hover::before { background-position: 0 20px !important; transition: all ease-in-out 1s; transform: scale(1.1); transform-origin: center center; -webkit-filter: drop-shadow(2px 2px 4px #333); filter: drop-shadow(2px 2px 4px #333); }
- This reply was modified 6 years, 1 month ago by Guenni007.
September 27, 2018 at 4:37 pm #1015373Hi Eefke,
Please let us know how Guenni007’s solutions worked for you and whether you need more help.
Best regards,
Victoria- This reply was modified 6 years, 1 month ago by Victoria.
September 27, 2018 at 5:57 pm #1015411Hey!
@Guenni your solution won’t work here because the problem is not the file type or download link per se.
@Efke – please read my last post carefully – I already answered your first question: https://kriesi.at/support/topic/link-to-a-pdf-document/#post-1015270
I don’t know if you can change the url – maybe you can do it in the plugin settings or purchase a premium addon for this feature. I’d recommend to talk to the plugin author.
Regards,
PeterSeptember 27, 2018 at 6:12 pm #1015424Peter, thanks a lot!
Yes, sorry I missed a part in the private area.I know enough now :-).
You can close this topic.Best,
EefkeSeptember 27, 2018 at 6:56 pm #1015450Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Link to a pdf document’ is closed to new replies.