Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author micropat

    (@micropat)

    You want just the JavaScript code in your WordPress Additional JavaScript box.

    Example for the default AddToAny image sharing buttons:

    a2a_config.overlays.push({});

    Thread Starter m187

    (@m187)

    Thanks but your example if added to the Additional JavaScript field of the plugin setting just gives 3 red warnings.

    Plugin Author micropat

    (@micropat)

    It should work if you have that 1 suggested line in your Additional JavaScript box, and you should still be able to save settings regardless of code warnings.

    And if you’re getting warnings with that 1 line, something else is breaking your settings pages (usually another plugin).

    Provide the site’s URL and/or screenshots if you’re still stuck.

    Thread Starter m187

    (@m187)

    I using the a2a_config.overlays.push({});
    The warnings are gone, but still no image hover buttons: https://humanerror.club/

    Plugin Author micropat

    (@micropat)

    Adding a line of CSS code to your Additional CSS box makes the buttons appear over images on your site:

    .a2a_overlay_style { z-index: 2; }

    One of the site’s elements is covering the buttons due to its larger z-index, so increasing the z-index of the buttons’ overlay resolves that issue on your site.

    By next week, AddToAny will increase the z-index by default so you won’t need that line of CSS then.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No IMAGE Share Buttons’ is closed to new replies.