Styling

Help Desk ›› How to ›› Styling
3 December, 2019 12:27:49
Will
Topics: 2
Messages: 5
Is it possible to apply css to the download link?
I'd like to change the color of the text.
Please see attached.
Thanks
4 December, 2019 01:27:11
E2Pdf
Support
Topics: 7
Messages: 3165
Hi,

By default generated link has "e2pdf-download" class which can be styled by adding style to your theme css. You can also define custom classes via "class" attribute:

[e2pdf-download id="1" class="additional-class"]

We remain at your service.
We would really appreciate your feedback at WordPress.org!
4 December, 2019 10:30:29
Will
Topics: 2
Messages: 5
Thanks for your help.
I added this styling to the theme css

#e2pdf-download-e2pdf-inline a:link
{ color: #e2e2e2;
}
But still I have the issue. Can you tell me am I missing something. Sorry I dont know css.
Here's the form with the link at the last page if that helps
https://ausdigitalmedia.com/free-stuff/#free-customer-profiler
5 December, 2019 01:00:19
E2Pdf
Support
Topics: 7
Messages: 3165
You4 theme has "style-custom.css" that has !important option on links locatd in this block, so try please to use css below:

/* Default Link Style */

body.textual-accent-color .post-content > div p:not(.entry-small):not(.panel-title):not(.t-entry-member-social) a.e2pdf-download:not(.btn),
body.textual-accent-color .post-content p:not(.entry-small):not(.panel-title):not(.t-entry-member-social) a.e2pdf-download:not(.btn-text-skin):focus:not(.btn)
{
color: #e2e2e2 !important;
}

/* Mouse Over Link Style */

body.textual-accent-color .post-content > div p:not(.entry-small):not(.panel-title):not(.t-entry-member-social) a.e2pdf-download:hover:not(.btn),
body.textual-accent-color .post-content p:not(.entry-small):not(.panel-title):not(.t-entry-member-social) a.e2pdf-download:not(.btn-text-skin):focus:hover:not(.btn)
{
color: #e2e2e2 !important;
}

We remain at your service.
We would really appreciate your feedback at WordPress.org!
5 December, 2019 10:59:04
Will
Topics: 2
Messages: 5
Excellent.
Thank you for the great support.
I will be sure to recommend this product to all of my agencies website clients now.

Will