Forums

[resolved] [Plugin: Add to Any: Share/Bookmark/Email Button] Dont Print Add To Any (6 posts)

  1. c-bass
    Member
    Posted 2 years ago #

    hey,

    nice plugin, but even with print.css the javascript code stays there and i dont want their javascript code to be printed. any idea?

    http://wordpress.org/extend/plugins/add-to-any/

  2. micropat
    Member
    Posted 2 years ago #

    The JavaScript code itself should not show up anywhere in your document whether printing or otherwise displaying the page. The problem is likely with your theme or another plugin. Try switching themes, or try deactivating other plugins to see if one is causing the problem.

    Please post what you find.

    FYI you can easily hide the button with print.css.

  3. c-bass
    Member
    Posted 2 years ago #

    its not the code itself, but the outdput will be published. see screenshot at http://yfrog.com/13add2cp . it is the print version made by print.css and it doesnt look very good for the user with this mess at the top.

  4. micropat
    Member
    Posted 2 years ago #

    Interesting that the menu elements are appearing on the page. Place the following line in your print.css file and it should hide AddToAny:

    .a2a_menu, .a2a_menu_border { display:none !important; }

  5. c-bass
    Member
    Posted 2 years ago #

    thanks for your help, though that didnt work out. please have a look at http://www.scandinavianoutdooraward.com/overall-winner/scandinavian-outdoor-award-winner-summer-2009-67.htm

  6. c-bass
    Member
    Posted 2 years ago #

    works!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags