Css add pdf icon




















Ask Question. Asked 11 years, 10 months ago. Active 5 years, 5 months ago. Viewed 6k times. Should i insert pdf icon as a inside or i should use as a css background? Which method is better? Jitendra Vyas. Jitendra Vyas Jitendra Vyas k gold badges silver badges bronze badges. Add a comment. Active Oldest Votes. Easy way to bring pdf or other icon with each link using CSS3: 1. Community Bot 1 1 1 silver badge.

Bashir Noori Bashir Noori 6 6 silver badges 11 11 bronze badges. Sign up or log in Sign up using Google. I am not familiar with the WordPress. Yes, we are. Please see our article should you install plugins not tested with your WordPress version for more on this topic. Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy , and your email address will NOT be published.

Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation. Save my name, email, and website in this browser for the next time I comment. Don't subscribe All Replies to my comments Notify me of followup comments via e-mail. You can also subscribe without commenting.

All Rights Reserved. Method 2: Using Icon Fonts for Attachment Files in WordPress In this method, we will be using an icon font to display an icon next to attachment file link.

Upon activation, you can edit a post or page where want to add an attachment link. Now you can upload your file and insert into post using media uploader. Download Now. Leave A Reply Cancel reply Thanks for choosing to leave a comment. Comment Don't subscribe All Replies to my comments Notify me of followup comments via e-mail. Featured in.

First make sure you have added Font Awesome Icon library. If this library is added just add the HTML css class fa fa-file-pdf-o to any element to add the icon. Font Awesome file pdf o Icon can be resized as per your need. You can manage size of icon fa fa file pdf o by using font-size css style. You need to add the icon class along with material-icons, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Font Awesome Icon file pdf o Icon File pdf o as per your requirement, suppose that you need to chnage the color of File pdf o icon or change the size of size.



0コメント