• Hi,

    when I try to add an additional CSS class in Gutenberg under “Advanced -> Additional CSS Class” the class is not being applied to the object. In fact, nothing changes. What could be the reason for this? Does anyone else have this problem?

    Edit: This only seems to happen, when I try to add a class to an object that is inside a “Cover” block type. For instance, when I have a headline inside a cover block type and then add a class to that headline, it will not work. Even adjusting the alignment doesn’t work.

    The same things works just fine outside of the cover block type.

    • This topic was modified 6 years, 11 months ago by Beef Supreme.
Viewing 2 replies - 1 through 2 (of 2 total)
  • silly suggestion maybe, but can you add the class to the parent cover block and then css it like


    .yourclass > elm {
    [..]
    }

    Thread Starter Beef Supreme

    (@polymathy)

    Yes, I could totally do that. I was just wondering why the text alignment doesn’t work. Maybe it is a bug? Or maybe it’s an issue with my theme (X-Theme)?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding CSS Class is not working’ is closed to new replies.