• I have a text link to a pdf file directly above a jpeg image that points to download the same pdf file. I added a class called “nomime” to the settings page. I then used it in this fashion around the text link and the image link, but it only disabled the icon by text link not the image link. Code I used
    <div class=”nomime”> **”my href link”** </div>

    Any suggestions?

    https://www.ads-software.com/plugins/mimetypes-link-icons/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Could you give me a link to the page where this is happening please ?

    Plugin Author eagerterrier

    (@eagerterrier)

    @bmwmaw – I think I know what you’re saying here and I’m not sure there’s a solution with our code. If you can take a second to verify the steps I think are causing this:

    1. You have a link that wraps both an image AND text in the form <a href="foo.pdf"><div class="nomime"><img src="myimg.jpg" /></div>Download my pdf</a>
    2. The icon comes BEFORE the image rather than (as you would like) before the text

    The plugin searches your copy for hyperlinks and scans those links for extensions that are allowed within the plugin. It then adds unique classnames to those links within your copy.

    Therefore, we need a way of disabling the code on a link rather than any contents of that link.

    If you can confirm the scenario above, I can get back to you with some solutions.

    Thanks for using the plugin

    TC

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Classname doesn't disable icon when placed around href image tag’ is closed to new replies.