WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: oik] Auto PDF Icon

[Resolved] [Plugin: oik] Auto PDF Icon

  • 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bobbingwide
    Participant

    @bobbingwide

    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.

    Plugin Author bobbingwide
    Participant

    @bobbingwide

    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; }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: oik] Auto PDF Icon’ is closed to new replies.