• Resolved Gijs22

    (@gijs22)


    Hello

    I wonder if someone could help me out? When I hyperlink a PDF file to bit of text, a small PDF icon appears on the left of this text.

    For example: I want people to click on the words: ‘training course’ and when they click on it the PDF file shows up. BUT I do not want to show the PDF icon on the left side, if that makes sense.

    Can anyone please help?

    Thanks,

    Gijs

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 14 replies - 16 through 29 (of 29 total)
  • Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    No I am not using that Plugin!

    Thanks,

    Gijs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok, could your theme maybe be doing the same? Or another plugin?
    It’s definitely not TablePress that is adding this, so it must be one of those.

    Regards,
    Tobias

    Thread Starter Gijs22

    (@gijs22)

    Hi,

    Ehm, yeah that could be. I do not have any knowledge about coding or something.

    When I try to figure out what Theme I am using, the ‘editor’ says:
    This child theme inherits templates from a parent theme, Celestial – Lite.

    So I think my theme is based on Celestial Lite? Do you know anything about this theme>?

    Gijs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    hold on, I just checked your site again. You are indeed using that MimeTypes Link Icons plugin. It’s installed at http://www.etaprojects.co.uk/site/wp-content/plugins/mimetypes-link-icons/
    You should see it in the “Plugins” list on your site.

    Regards,
    Tobias

    Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    Oh yeah, I am so sorry. I wasnt aware of that..!
    When I disable that plugin, it takes away EVERY icon on my site right?

    And what if I just only want to delete the icons on that training page :P?
    Or are you the wrong person to ask for that plugin?

    many thanks,

    Gijs,

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yeah, if you want to turn this off only on the page with the table, we will have to use a different solution, e.g. by hiding it via “Custom CSS”. To find that, please activate the plugin again.

    Regards,
    Tobias

    Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    Thanks for your reply.
    Plugin is active again!

    Regards,

    Gijs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks! To now remove the icon again, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress-id-1 .mtli_attachment {
    	background: none;
    	min-height: 0;
    	padding-left: 0 !important;
    }

    Regards,
    Tobias

    Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    This is how my Tablepress Custom CSS looks like right now:

    .tablepress-id-1 .column-2 {
    width: 50px;
    }

    .tablepress-id-1 .column-1 {
    width: 160px;
    }

    .tablepress-id-1 {
    width: 550px;
    }

    No Border
    .tablepress-id-1,
    .tablepress-id-1 tr,
    .tablepress-id-1 tbody td,
    .tablepress-id-1 thead th,
    .tablepress-id-1 tfoot th {
    border: none;
    }

    Header Font Sizes
    .tablepress-id-1 .first-line {
    font-size: 18px;
    }

    .tablepress-id-1 .first-line {
    font-size: 18px;
    }

    .tablepress-id-1 .ninth-line {
    font-size: 18px;
    }

    .tablepress-id-1 .fifteenth-line {
    font-size: 18px;
    }

    .tablepress tbody td {
    line-height: normal;
    }

    .tablepress .row-hover tr:hover td {
    background-color: #008bd1;
    }

    .tablepress-id-1 .row-1 td,
    .tablepress-id-1 .row-8 td,
    .tablepress-id-1 .row-9 td,
    .tablepress-id-1 .row-14 td,
    .tablepress-id-1 .row-15 td {
    background-color: transparent !important;
    }

    Hide pdf icons
    .tablepress-id-1 .mtli_attachment {
    background: none;
    min-height: 0;
    padding-left: 0 !important;
    }

    And the pdf icon is still there.

    Regards,

    Gijs

    Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    Its gone now! Just played around a bit and now it suddenly worked.

    Many thanks,

    Gijs

    Thread Starter Gijs22

    (@gijs22)

    Is there a way to give those codes a heading so I will know after a while which code was for what?

    I did wrote ‘Hide pdf icons’ above the code you gave me and the code did not work. I removed the title and it works now..

    Can I give my codes a title?

    Many thanks,

    Gijs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you can’t add “titles”, but comments:

    /* Hide PDF icons */

    Those /* and */ are very important! Without this, the code might break, so make sure to use this everywhere where you want a comment.

    Regards,
    Tobias

    Thread Starter Gijs22

    (@gijs22)

    Hi Tobias,

    Ah, cool.. Many thanks!
    I think that was the last question for now.

    Thanks for helping me out!

    Gijs

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 14 replies - 16 through 29 (of 29 total)

The topic ‘Remove PDF icon when hyperlinking’ is closed to new replies.