Buttons centered or aligned right doesn’t work
-
Hi,
after upgrading to WP 6.1 all centered buttons align left.
In the block-editor I can see the buttons correctly centered, but if I show the block-html, I found this:
<div class=”wp-block-buttons”><!– wp:button {“className”:”is-style-primary”} –>
<div class=”wp-block-button is-style-primary”>ÜBER DIE AKTION</div>
<!– /wp:button –>The class “is-content-justification-center” is missing in the code
If I look on the resulting HTML in Browser, i see this:
<div class=”is-horizontal is-content-justification-center is-layout-flex wp-container-1 wp-block-buttons”>But Buttons are not centered
I have tested this issue on other sites on WP 6.1. with different themes (Neve and Affinity), it’s always the same, so it seems to have nothing to do with the theme.
Best
Kai-UweThe page I need help with: [log in to see the link]
The topic ‘Buttons centered or aligned right doesn’t work’ is closed to new replies.