Support » Plugin: Gutenberg Block Editor Toolkit ā€“ EditorsKit » I cant’ hide some blocks

  • Resolved adelaydi

    (@adelaydi)


    Hi,

    I select “hide on tablet” and “hide on mobile” but it still appears on mobile device.

    Regards

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The devices “filter” only works for static blocks, and not for dynamic blocks like blocks made with AF Pro. The way I get around this issue is to put the dynamic block I want to hide inside a Group block, and then go ahead and set the device “filters” on the Group. Obviously if you hide a Group for phones for example, all the blocks inside the Group will be hidden too – in this case, for phones.

    Plugin Contributor Jeffrey Carandang

    (@phpbits)

    @adelaydi: @nick6352683 is right, you can use Group block if you are using a dynamic block. As of the moment Gutenberg only allows non-dynamic blocks filter for us developers. I hope using Group block will solve the issue. Let me know how it goes. Thanks!

    Thread Starter adelaydi

    (@adelaydi)

    ok,
    Thank you,
    It works!

    Plugin Contributor Jeffrey Carandang

    (@phpbits)

    @adelaydi You are very welcome! Let me know if in any case you encounter any other issues. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I cant’ hide some blocks’ is closed to new replies.