• Resolved raazwebcity

    (@raazwebcity)


    Screen size features is disabled on my block editors and written ” Not compatible with this block type”.

    Help

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi @raazwebcity,

    Thank you for reaching out. Some third-party blocks (and a few WordPress core block) do not support CSS classes and therefore will not let the Screen Size control in Block Visibility work correctly. Can you let me know what block type you are attempting to use with the Screen Size control?

    In the meantime, a handy workaround is to place the block inside of the Group block and then apply the Screen Size visibility settings to the Group block instead.

    I look forward to hearing from you.

    Best,
    Nick

    Thread Starter raazwebcity

    (@raazwebcity)

    Hi @ndiego
    Thank you for replying.
    I have created two sections in page visual editor.

    In Left sections I have added shortcode and on the right sections I have added jetpack block named “story”.

    Even after removing that block i tried different block and attempt to hide the screen size for mobile using block visibility. It didn’t work.

    Here is the link Link

    Regards
    Raj

    Plugin Author Nick Diego

    (@ndiego)

    Hi Raj,

    Thank you for the followup. The Shortcode block does not support CSS classes. I also tested the Jetpack Story block and it also does not appear to support CSS classes.

    That said, there is a very simple workaround that will get you up and running in no time! Simply place the Shortcode and/or Story block inside of a Group block. Then apply the Screen Size control settings to the Group block. Because the Shortcode and/or Story block is inside of the Group block, they will also be hidden whenever the Group block is.

    Let me know if I can answer any further questions.

    Best,
    Nick

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Block Visibility Screen size’ is closed to new replies.