• Resolved JMunce

    (@jmunce)


    I’m using

    a2a_config.icon_color = "#color";
    var a2a_config = a2a_config || {};

    to give my icons a custom color, which I want for most of my site. However, I’m making a custom page that inserts the buttons with

    <?php echo do_shortcode('[addtoany]'); ?>

    I want the regular colors for this buttons bar. How can I code that, please?

    Thank you,
    JM

    https://wordpress.org/plugins/add-to-any/

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

    (@micropat)

    With AddToAny’s general custom color HTML code (instead of PHP code), use the special unset keyword for data-a2a-icon-color like:

    <div class="a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-icon-color="unset">
        <a class="a2a_button_facebook"></a>
        <a class="a2a_button_twitter"></a>
        <a class="a2a_button_google_plus"></a>
        <a class="a2a_dd" href="https://www.addtoany.com/share"></a>
    </div>

    Thread Starter JMunce

    (@jmunce)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to get normal colors back?’ is closed to new replies.