WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Pin It Button For Images
[resolved] disabled class not working on image (3 posts)

  1. annie hearts
    Member
    Posted 8 months ago #

    Hi,

    I've tried to put the nopin;wp-smiley on my image CSS class, but it's still not disabling the button.

    It's the last image on each of my posts - my signature that says "hearts, annie xo"

    Here's my website:
    http://www.anniehearts.com

    Please help!
    Thanks,
    Annie

    http://wordpress.org/plugins/jquery-pin-it-button-for-images/

  2. mrsztuczkens
    Member
    Plugin Author

    Posted 8 months ago #

    Hi,

    it seems like I haven't made it clear how the disabled classes settings field works. I will make it easier to use in the future.

    So, nopin;wp-smiley are in fact two class names separated with a ; sign and in HTML we separate class names with a space, that's why it doens't work. Just set the css class of the mentioned image to nopin and you should be fine. Let me know if it works!

  3. annie hearts
    Member
    Posted 8 months ago #

    Thanks for the explanation mrsztuczkens!

    I tried it and it worked.

    For others who have the same problem, when you click on the image in edit mode, and the two little boxes pop up in the left upper corner (one a landscape and the other a red circle with a bar through it), click on the landscape box and then on the Advanced Settings Tab. There are TWO boxes for CSS Class there. I put nopin in both of them and it worked great!

    Annie

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.