1.14.6 version add css class instead of id
-
Hi there,
First I like your plugin!!But with the new version 1.14.6 (compare to 1.14.3 the last I used), it changes the way you apply class or id to blocks.
In 1.14.3, you applied a special id with the block plus some numbers and letters, eg: uagb-infobox-8f88d20a-5cc5-440e-a965-95892331708f
But now this is not an id anymore it’s a class, which make it less “priority” compare to wp-includes/css/dist/block-library/style.min.css, so the style (like content colors) we apply are not displayed on some blocks…
For example, if you use a uagb-infobox inside a wp-block-cover, then the color selected will not be applied, cause of block-library/style.min.css which has a set of rules for children inside (heading and paragraph) which set color:inherit
To fight against this we have to apply a custom class .has-text-color to the uag block, which is not good for end-user (not dev).Is there any updates coming to fight this?
Thank you
PS: Sorry for my french ??
- The topic ‘1.14.6 version add css class instead of id’ is closed to new replies.