WordPress.org

Ready to get started?Download WordPress

Forums

oik
[resolved] Auto PDF Icon (3 posts)

  1. peterarees
    Member
    Posted 1 year ago #

    I realise I posted this in the Resolved thread for Automatic PDF Icon:

    I have the same problem. The custom css simply does not work for me, I have tried both:
    a[href*='.pdf'] { background-image: none; padding-left: 3px; } and
    div.noicon a[href*='.pdf'] { background-image: none; padding-left: 3px; }

    but it makes no difference. I use oik for cookie cat and privacy policy on numerous sites. The majority of these sites offer pdf downloads in lots of different ways, NONE of which require a mini pdf icon - in fact it simply detracts from the aesthetic in most instances.

    Can a fix be provided please, as the alternate is that I stop using oik because there are too many client complaints!

    http://wordpress.org/extend/plugins/oik/

  2. bobbingwide
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Peter. I'm working on a new version of oik right now. One of the tasks that I was deferring was in resolving some CSS issues. Now I'm going to make it a priority. If you can show me an example of a site where it's not right then I may be able to propose a(nother) workaround. Otherwise it's a simple case of editing oik.css to remove the offending line.
    The new version of oik will have something more specific to replace it.

  3. bobbingwide
    Member
    Plugin Author

    Posted 1 year ago #

    oik version 1.17 has now been made the stable version.
    The CSS associated with links to .pdf files is now

    a.bw_attachment[href*='.pdf'] { background: transparent url( 'images/pdficon_small.png' ) no-repeat; background-size: auto; padding-left: 32px; }
    div.noicon a[href*='.pdf'] { background-image: none; padding-left: 3px; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.