• Resolved politicske

    (@politicske)


    Hi. Would it be possible to introduce a few options on which screen size each button should show or be hidden? E.g. max-768px for mobiles, max-1024 for tablets, and 1024+ for desktops? For example, show the whatsapp button for mobiles only? I am currently hiding several of these buttons with CSS

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter politicske

    (@politicske)

    Hi Robin. Any answer to this?

    Plugin Author Robin Cornett

    (@littlerchicken)

    Sorry, I missed this when your first post came through. At this time, I do not have any plans to selectively show/hide buttons based on screen size, largely because media query values will vary so much from one theme/site to the next, and services like WhatsApp do provide computer apps. I agree that it makes sense to hide SMS buttons on larger screens, but my preference is to leave that to site owners, to better incorporate with their themes. The CSS approach is the only way to handle this with this plugin, so I would stick with what you are already doing.

    Thread Starter politicske

    (@politicske)

    Aha. This makes sense then. I have incorporated a few other buttons to hide by CSS and it works great. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Introduce media queries’ is closed to new replies.