Custom block style from plugin doesn’t work with this theme?
-
Testing this theme now, and it seems like the custom styles I added to my website trough a plugin don’t take effect on the front end.
I used the Gutenberg Block Styles plugin from Automattic’s github to create some custom styles for my website, but oddly with your theme they show in editor, while not on the front end. With other themes, like Twenty-Twenty-Two it’s the other way around (shows in front end, but not in editor).
For instance, I made an lead text style (called ingress in Norwegian), so that the lead text in an article can be bold and somewhat larger than the rest of the text. Checking the code, the ‘is-style-ingress’-class is applied to the paragraph, but the CSS for this is not applied.
Any idea why? And how to fix it? May be a naming issue maybe, where your theme has some stylesheet with the same name as the one from the plugin?
- The topic ‘Custom block style from plugin doesn’t work with this theme?’ is closed to new replies.