• Resolved Dave Loodts

    (@davelo)


    When you align an image in Gutenberg, then it’s get a class that sets a style: display: table.
    Spectra has a feature ‘Display Conditions” -> Responsive visibility; hide on small; etc. That adds a class: display:none.

    But since the Gutenberg style code overrules the code of the visibilty-status; the feature is not working anymore.

    The solution is to set an !important element to the Spectra class; so i doesn’t get overrules.

    To be honest, i don’t know why Gutenberg adds such kind of style code to Image Block alignments; see https://share.woofers.be/rRuOkgY6

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @davelo,

    The display condition is working on my end. I have recorded a screencast to show how it works on my end.

    Please record a video to show what you are experiencing from your end so as we can know whether we have missed something.

    Regards.
    Judith.

    Hello @davelo,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thank you!

    Regards.
    Judith.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visibility class of spectra gets overruled by Gutenberg’ is closed to new replies.