Home › Forums › Theone WordPress Theme › How to make download link
- This topic has 13 replies, 2 voices, and was last updated 11 years, 2 months ago by
dashmista.
-
AuthorPosts
-
March 8, 2015 at 5:01 am #6567
dashmista
ParticipantHi,
1. On uxdash.com in the “Resume” section at the bottom, how can I make the button download the resume, rather than open a new tab?
2. I tried using a button rather than a “promote” module – but the button color would not change? So I could not see the white text and box on the white background. I selected the color change in the “edit” settings, but it did not work.
3. How can I increase the top and bottom padding of the “Resume” section?Thank you so much!
March 9, 2015 at 2:45 am #65771. add the pdf link to “Button Link”
2. deactivate “Shift Text Color for Dark Background” in resume fullwidth wrap
3. add divide modules(use blank divider type) like: https://www.dropbox.com/s/ec9c3walef4o6fe/QQ20150309-4.jpg?dl=0
March 9, 2015 at 6:19 pm #6582dashmista
ParticipantThank you so much. Colors are working now for the button. However, can you please see again the resume section – is there any way to make it easier to see the button? The background is problematic for any button color – is it possible to add a mask for the button so the text is more easily visible? Or some other solution?
Thank you
March 9, 2015 at 8:34 pm #6585dashmista
ParticipantAlso – for problem #1, when the user clicks “download resume”, it redirects the page to the resume pdf. Can it be downloaded as a file, not displayed in the browser automatically? Or at least opening in a new tab?
Thanks
March 10, 2015 at 1:20 am #6586is there any way to make it easier to see the button? The background is problematic for any button color – is it possible to add a mask for the button so the text is more easily visible? Or some other solution?
Try to set a white background color and shadow
#Resume.fullwidth-wrap .moudle .ux-btn {border-color: #28282E; color: #28282E; background-color: #fff;box-shadow: 0 0 20px #111111;}Also – for problem #1, when the user clicks “download resume”, it redirects the page to the resume pdf. Can it be downloaded as a file, not displayed in the browser automatically? Or at least opening in a new tab?
Try to use a text block (in Text mode: https://www.dropbox.com/s/tlz45q6jldgjfl0/QQ20150310-1.jpg?dl=0), paste the code :
<div class="btn-mod-wrap btn-center"> <a target="_blank" class="ux-btn button-large bg-theme-color-10 bg-theme-color-7-hover" data-animationend="fadeined" download="DashielNeimark_UX-Architect.pdf" href="http://uxdash.com/wp-content/uploads/2015/03/DashielNeimark_UX-Architect.pdf"><span class="ux-middle"><span class="ux-btn-text">Download Resume</span></span></a> </div>The 2 values ( target=”_blank” and download=”DashielNeimark_UX-Architect.pdf”) are key.
March 10, 2015 at 1:23 am #6588There is a “Test button” page for download link in you admin, you could refer it.
March 10, 2015 at 2:29 am #6593dashmista
ParticipantPerfect!!! Thank you so much. You guys are awesome.
March 10, 2015 at 11:25 pm #6612dashmista
ParticipantWhoops, I discovered a problem:
On mobile, the “download resume” button is invisible until you click it. How can I fix this?
Thanks
March 11, 2015 at 2:20 am #6617Hi, I don’t clear your question.
March 11, 2015 at 3:38 am #6623dashmista
ParticipantWhen I go to uxdash.com on my phone, and scroll to the resume section, I cannot see the button “Download resume”. It is invisible.
March 11, 2015 at 5:15 am #6625I checked on ios and android, it is fine https://www.dropbox.com/s/mdsrhvdpxlejx23/QQ20150311-4.jpg?dl=0
March 11, 2015 at 9:01 pm #6642dashmista
ParticipantHmm strange. Must be a problem with my iPhone then. Well I appreciate you testing it.
March 28, 2015 at 11:21 pm #6833dashmista
ParticipantThis reply has been marked as private.March 29, 2015 at 2:04 am #6836dashmista
ParticipantFixed it! My apologies.
-
AuthorPosts
- You must be logged in to reply to this topic.
