Sharing Customization

Display Mini Menu on Click

By default, the full menu appears when tapping or clicking an AddToAny button (since September 2022).

Alternatively, you can set the mini menu to appear first on click (or on hover).

<script>
var a2a_config = a2a_config || {};
a2a_config.onclick = 1;
</script>

In Drupal, add the following JavaScript code to your "Additional JavaScript" box in Configuration > Web services > AddToAny > Additional Options.

In WordPress, add the following JavaScript code to your "Additional JavaScript" box in Settings > AddToAny.

a2a_config.onclick = 1;

The mini menu contains a "More" button that opens the full menu. With the mini menu open, the full menu opens when the AddToAny button is clicked once more.

Deactivating the Full Menu

To prevent the full menu from opening at all, you can use CSS code to hide the More button. AddToAny will take this as a signal to never open the full menu.

<style>
.a2a_more { display: none; }
</style>

In Drupal, add the following CSS code to your "Additional CSS" box in Configuration > Web services > AddToAny > Additional Options.

For WordPress, add the following CSS code to your "Additional CSS" box in Settings > AddToAny.

.a2a_more { display: none; }