• I have a client site with navigation buttons listed along the top and want to add one that will take on the behavior of this plugin’s Share button. That is, when someone either clicks or hovers over the item the share dialog will pop. Anyway to do this? The “Share” will go into the blank spot to the left of the search form. https://www.investingforeternity.com.

    Not certain if I can at least replace the main share button displayed with my own graphic. I do see that the individual service buttons can be overridden or added to.

    Cheers

    https://www.ads-software.com/plugins/add-to-any/

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

    (@lambje)

    I should add, I do see how I can override the standard share button but I only want to override it for this new button at the top, not for the standard one already at the bottom of the site’s pages.

    Thread Starter Jeff Lambert

    (@lambje)

    If you have a more elegant solution than what I’ve done please let me know. I basically placed a div where I wanted and added the code to display your plugin share button. I then updated the settings to specify the path to your plugin image and then, using jQuery, I flip the image in the menu area to one that looks like a menu item. Only issue really is that it can flash your image before it is replaced with mine.

    Plugin Author micropat

    (@micropat)

    Just place this a.a2a_dd element within your <li> for a custom AddToAny button:

    <a class="a2a_dd" href="https://www.addtoany.com/share">Share</a>

    Thread Starter Jeff Lambert

    (@lambje)

    Yep, that’s a much more elegant solution. Did I miss this in the documentation? Thanks for the response, I’ve updated the site to use this method as opposed to what I had.

    Cheers

    Plugin Author micropat

    (@micropat)

    Nah, you didn’t miss it. It’s just that the whole div.a2a_kit markup is well-documented as the handy [yet optional] container of all the buttons, including the original AddToAny button tag that you’ve made excellent use of.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Have menu item react like Share button’ is closed to new replies.