additional css classes not taken into account
-
When you add an additional css class to whatever Gutenberg block in the block settings, that class is normally added to the class=”whatever_classes” string of the block tag during html output. That works with all blocks, but NOT with the Advanced Gutenberg Post block (did not yet test with other blocks from Maxime’s otherwise great plugin). The additional class(es) are simply not output ??
Actual html output:
<div class="wp-block-advanced-gutenberg-blocks-post">
Expected html output:
<div class="wp-block-advanced-gutenberg-blocks-post my-class">
Thus, I can’t re-style your single post block, which is sad since I finally found a css way to make the post block render vertically (picture above the text) to put 2 or 3 post blocks in columns.
- The topic ‘additional css classes not taken into account’ is closed to new replies.