• Resolved Drauth

    (@drauth)


    Hi,

    I would like to know if there is a way to enable/disable icond depending on the device used. e,g. Whatspaap icon doesn’t make much sense on PC and if an user clicks on it he get a “weird” page of https://api.whatsapp.com

    Thanks
    Simone

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    (@micropat)

    Hi Simone,

    You can use Additional CSS code to hide specific buttons depending on the screen size of the device, for example:

    /* Hide the Print icon on mobile devices. */
    @media screen and (max-width: 980px) {
      .a2a_button_print { display: none; }
    }
    /* Hide the WhatsApp icon on desktop devices. */
    @media screen and (min-width: 981px) {
      .a2a_button_whatsapp { display: none; }
    }

    However, WhatsApp has desktop applications, so it generally makes sense to offer the button on all devices.

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Icons on Pc/mobiles’ is closed to new replies.