Support » Plugins and Hacks » [Resolved] Possibly incompatibility with Mime Type Link Images plugin?

[Resolved] Possibly incompatibility with Mime Type Link Images plugin?

Viewing 1 replies (of 1 total)
  • Plugin Author Maarten Swemmer


    Hello MG,

    I just took a look at the page and in Firefox it looks OK. From the response to the issue you posted on the other plugin, I understand that you have fixed the issue via a work around. Below I describe a permanent solution that does not require changes to the other plugin.

    If I understand correctly the Mime Type Link Images plugin uses some JavaScript to add an image to each link where necessary, using CSS:

    .mtli_pdf {
        background-image: url("../images/pdf-icon-16x16.png");
    .mtli_attachment {
        background-attachment: scroll;
        <strong>background-position: right top;</strong>
        background-repeat: no-repeat;
        display: inline-block;
        height: 16px;
        <strong>padding-right: 19.2px !important;</strong>

    The bold statement above is what makes sure that the icon is shown right of the text, instead of on top of it.

    Basically the Links Shortcode plugin outputs links exactly as specified in the template (on its Settings page). You seem to have something in the template like this:
    <div class="links_sc">
    The CSS that comes with the Links Shortcode plugin defines padding:0 for class ‘links_sc’, apparently by default overruling what is stated in bold above.

    By replacing <div class="links_sc"> by <div> in the the Template section of the Links Shortcode settings page, this issue can be solved. It does not hurt other functionality because you do not display the Facebook button with your links.

    Please try it and let me know if this is the permanent fix.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Possibly incompatibility with Mime Type Link Images plugin?’ is closed to new replies.