Ad

How To Disable Element On Mobile Devices On Wordpress?

- 1 answer

I've got website: https://romeo24.live/ and there I've got a social plugin on the right top corner. On the desktop is ok, but I wanted to hide it on mobile devices. Should I make it with css? Is it possible? Thanks

Ad

Answer

You can use @media CSS at-rule for control style sheet in some screens (like mobile devices). In your site, you can use this CSS code for example:

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
#sfsi_floater {
  display: none;
  }
}
Ad
source: stackoverflow.com
Ad