Tagged: pdf
Hi, I need to add some .pdf documents with links from my pages, and was wondering how to best deal with these in Enfold.
I tried adding an icon component, but there is no .pdf icon and I can’t seem to be able to add any text next to the icon.
I’d like to do something like the links in bottom left of the page in my private link below
Thanks, Richard
Hey Richard!
Try adding this code to the Quick CSS:
a[href$=pdf]{
padding: 10px 0px 10px 20px;
background: url(https://cdn1.iconfinder.com/data/icons/silk2/page_white_acrobat.png) no-repeat left center;
}
Cheers!
Josue
Brilliant, thanks Josue
I also figured out how to do the same for a Word document:
a[href$=doc], a[href$=docx]{
padding: 10px 0px 10px 20px;
background: url(http://cdn1.iconfinder.com/data/icons/silk2/page_white_text.png) no-repeat left center;
}
Pats himself on the back :-)
You are welcome, always glad to help :)
Regards,
Josue
there is a way to remove icon from button ? I mean I add the link to pdf with some buttons, and i have also some text link
With text link it’s perfect, but when there is pdf inside a button, icon appears also in button.
Any suggestion ?
Thx
Hi bubaweb,
Could you please give us a link to your website, we need more context to be able to help you.
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
Victoria