-
O w e n
Coming from Elementor, I was able to turn images and blocks on and off depending on the device. Is there a way I can achieve that in GP? For instance, the alternating order of photos and text containers does not work well in mobile as it does on desktop and I would like to save a mobile only version different from desktop. Is this possible?
-
Hi there,
You can use the theme’s built-in CSS class:
hide-on-mobile
,hide-on-desktop
andhide-on-tablet
.For more info:https://docs.generatepress.com/article/responsive-display/
How to add CSS class to blocks: https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/
-
O w e n
Great, thank you for the links. It would be super easy if these options can be integrated into a toggle instead of getting involved with CSS, maybe next update? Easy for me to say though!
-
The toggle options are available in the GenerateBlocks Pro plugin which is our block product 🙂
GP is more for global control, I don’t think this option would be integrated into GP anymore, unfortunately.
-
O w e n
Private message sent
- You must be logged in to reply to this topic.