Styles are not rendered when viewing page publicly
-
WordPress 5.2.2
WP Munich Blocks v0.9.7I’ve activated the plugin and the two blocks I’ve tried are rendered correctly in the Block Editor, with all of the colors and such. However, when browsing that page on the front-end, none of the styles (like bg color and such) are shown. I’ve tried both the Background and the Accordion block.
I can see there are CSS classes added to the element:
<div class="wp-block-wpm-background has-style-wpm-background-p19q2usb has-palette-color-4-color has-palette-color-2-background-color"> <div class="entry-content"> <p><strong>Some title ...</strong></p> <p>Some text ...</p> </div> </div>
And I can see the CSS file load: /wp-content/plugins/wp-munich-blocks/css/filter.min.css?ver=0.9.7
… however none of the other styling is rendered. Looking at Chrome DevTools, I can see some styles for the
.wp-block-wpm-background
class, but none of the other CSS classes (e.g.,has-style-wpm-background-p19q2usb has-palette-color-4-color has-palette-color-2-background-color
) have any style properties defined.Any idea why that might be happening? I’m using the Blocksy theme. I’ve also tried disabling other plugins, but still no colors or other styles work on the front-end.
Thanks!
- The topic ‘Styles are not rendered when viewing page publicly’ is closed to new replies.