• Resolved eksgsd

    (@eksgsd)


    hello…

    i have successfully added the pinit button to my site where i want it, and am using a custom image as the pinit button.

    unfortunately, the words “Pin It” are also appearing on the image, along with the styling of links on my site (the custom image has a dotted underline, which i obviously don’t want).

    i can’t figure out how to get rid of the words “Pin It” … and btw they appeared even with the default pinit image, before i pointed the plugin to my custom image.

    also, i tried adding this to my style sheet, but the underline hasn’t gone away either…

    a.pinit-button {
    text-decoration:none !important;
    }

    this page is where you can see the problem:
    https://superflyinseven.com/click-lists/curated-click-list-5-april-11/

    https://www.ads-software.com/plugins/jquery-pin-it-button-for-images/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter eksgsd

    (@eksgsd)

    please disregard … i have actually figured this out.

    thanks!

    What was the fix? Having the same problem.

    Thread Starter eksgsd

    (@eksgsd)

    unfortunately, i had to edit the plugin files in the editor window (which i know is not recommended), but after selecting the jquery pinit plugin from the drop-down menu, choose the file: jquery-pin-it-button-for-images/js/script.js. if you search the page for “pin it”, you should find some code that looks like this:

    function jpibfiCreatePinitButton( indexer ){
    
    			var $anchor = jQuery('<a/>', {
    				href: '#',
    				"class": 'pinit-button',
    				"data-jpibfi-indexer": indexer,
    				text: "Pin It"
    			});

    i just removed the words Pin It (but left the quotation marks).

    you should do the same in the file called: jquery-pin-it-button-for-images/js/script.min.js

    the line of code will be different, but you’ll still see text: “Pin It” and if you just delete the words they won’t appear on your images.

    i’m not actually sure why that text is even included, and i’m definitely not sure if mine is the “right” way to get rid of it, but it worked and doesn’t seem to have affected the plugin’s operation at all.

    Plugin Author mrsztuczkens

    (@mrsztuczkens)

    This text will probably be deleted in a future release. Normally it’s hidden using CSS, but it seems that your themes override this setting therefore making the text visible.

    Just did the most recent update (thanks for keeping up with the plugin, btw), and see that the text in the plugin files comes back when I update.

    When I was having this problem on my site it was only on about 25% of the pages or so and I didn’t remember which, so after doing the update I just deleted the text out of the files again rather than checking to see if the problem persisted (for some people).

    Do you know if this problem would still be occurring for some? I’m fine with just doing a quick 2 second fix on my end whenever I need to update the plugin, I just figured I’d check to see if it was still necessary.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘i have a pin it button, don't want the words "pin it" too!’ is closed to new replies.