Archived topic
Blocks show/hide for Device
3 replies · Started by Ernst Wilhelm on November 20, 2019
Viewing posts 1–4 of 4
How can I hide a block in case the current device is a 'smartphone', is not a 'smartphone'?
Hi there,
you can use one of the hide-on-* classes that GP provides:
https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes
If you select a Block, and go to the Settings Sidebar under Advanced there is a Additional CSS field, simply add the relevant class or classes to that field.
Thanks. Works fine :)
You're welcome
This archived topic is closed to new replies.