Home Forums Theone WordPress Theme How to make download link Reply To: How to make download link



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?

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>

The 2 values ( target=”_blank” and download=”DashielNeimark_UX-Architect.pdf”) are key.

  • This reply was modified 3 years, 7 months ago by  BWSM.