Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paragraph - text aligning not working #17510

Closed
Computino opened this issue Sep 21, 2019 · 7 comments
Closed

Paragraph - text aligning not working #17510

Computino opened this issue Sep 21, 2019 · 7 comments
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Themes Questions or issues with incorporating or styling blocks in a theme.

Comments

@Computino
Copy link

Computino commented Sep 21, 2019

Hello everyone,

I am using the latest version of the Gutenberg plugin for Wordpress.

I've just noticed this issue. I add a paragraph on the editor, I center the text, and it works. When I publish the article, the output text is not centered but keeps staying on the left.

The same happens if I try to align the text on the right.

I am using: Firefox (latest) Windows 10

image

image

@HardeepAsrani
Copy link
Contributor

Which theme and plugins are you using? Can you give a link to your website so I could check? :)

@Computino
Copy link
Author

Hello @HardeepAsrani,
thank you for the reply and sorry for the delay.

I am using Bimber theme and quite some plugins, everything registered and updated.

I just tried something. If I use a "Classic Editor" block, and I center the text, it works.

By the way, this is one of the page from the website that shows the problem, https://procontro.com/miglior-tablet/. Right on top, the 6th paragraph, "LA MIA TOP 3", should be centered.

@HardeepAsrani
Copy link
Contributor

It has has-text-align-center which shouldn't be there, as it only gets added to Quotee & Cover block. Which version of WordPress are you using? And also, can you create a new post and see if the same happens?

@Computino
Copy link
Author

The pictures uploaded are from a new post. Wordpress is updated.

@swissspidy swissspidy added [Block] Paragraph Affects the Paragraph Block [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. labels Sep 24, 2019
@swissspidy
Copy link
Member

If you use Gutenberg 6.3 or newer, or WordPress 5.3 Beta, then the has-text-align-center class is expected to be there. See #16794. If your text is not aligned in that case, it probably means that your theme does not yet support classes like has-text-align-center

@Computino
Copy link
Author

I am using WordPress 5.2.3, it updates by itself, and Gutenberg Plugin 6.5.0.
I think I will just wait for a Wordpress update or a theme update.
It's not a bug at least and, plus, it's not like users and google give so much importance to these "not-center-aligned paragraphs". As long as the website doesn't go down for this, it's okay.

Thanks for the answers and helpfulness, btw.

@carolinan
Copy link
Contributor

Closing this, as it is confirmed to be a theme issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Paragraph Affects the Paragraph Block [Feature] Themes Questions or issues with incorporating or styling blocks in a theme.
Projects
None yet
Development

No branches or pull requests

4 participants