WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] [Plugin: Share Buttons by Lockerz / AddToAny] Share button - reduce list of services (5 posts)

  1. brasofilo
    Member
    Posted 2 years ago #

    I guess that being an iframe there's nothing we can do to reduce that gigantic list of services in the share button, is it?

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

  2. micropat
    Member
    Plugin Author

    Posted 2 years ago #

    iFrame? The menu of services is completely exposed in the DOM. Go nuts. :)

  3. brasofilo
    Member
    Posted 2 years ago #

    hi micropat, thanks for your prompt answer :)

    but I guess I cannot go nuts... ain't this an iframe?
    http://cl.ly/2A2Q2j2w380r3N241b3e

  4. micropat
    Member
    Plugin Author

    Posted 2 years ago #

    Nope. :) There's a related iFrame in the DOM, but it's 1 x 1px and used for cross-domain communication. The menu you're seeing can be changed using CSS & JavaScript.

    Here's an example of CSS removing the "Any email" service:
    http://share.lockerz.com/buttons/customize/hide_any_email_service

    You could do the same with Facebook, for example, using CSS code:
    #a2apage_facebook { display:none !important; }

  5. brasofilo
    Member
    Posted 2 years ago #

    you rule!
    muchas gracias!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags