Support » Plugin: AddToAny Share Buttons » [Plugin: AddToAny: Share/Bookmark/Email Buttons] Remove CSS completely

  • Resolved JSauce16

    (@jsauce16)


    Hello,

    On my site, TweetMyHome I installed AddToAny, however, it seems there are still some css issues.

    My “email” span should be the only one applied, and should have a little icon next to the “Email It” link. You can also see that the text is not aligned properly. How can I strip the extra HTML tags that are throwing off the look of the button? (It is located right below the thumbnail images where it says “Email It”)

    Help is greatly appreciated!

    Thanks,

    Jon

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can anyone please help on this?

    Plugin Author micropat

    (@micropat)

    Sure, from the FAQ:

    “How can I add just the button to another area of my theme?”

    <?php if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) { ADDTOANY_SHARE_SAVE_BUTTON(); } ?>

    This will place just the button without the AddToAny “Kit” div container.

    The key is that I just want text, so I can have my own style… no button.

    This is what I was trying to do:

    <span class="mail"><?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

    That is my span class that I want to maintain. It works with text, but it is still throwing off the class a bit. It is still added some extra classes. Help appreciated!

    Thanks,

    Jon

    Plugin Author micropat

    (@micropat)

    You can select a text-only “button” in the plugin’s settings panel.

    You’ll want to use this code instead:
    <?php if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) { ADDTOANY_SHARE_SAVE_BUTTON(); } ?>

    It differs from what you’re currently using: ADDTOANY_SHARE_SAVE_KIT vs. ADDTOANY_SHARE_SAVE_BUTTON. You want to use ADDTOANY_SHARE_SAVE_BUTTON.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: AddToAny: Share/Bookmark/Email Buttons] Remove CSS completely’ is closed to new replies.