• I’d like to center a poem in my post, and the lines of the poem are all aligned left. If I simply center the whole poem, every line is centered. Is there a way to keep the left alignment of the lines themselves and still center the whole poem?

    Thanks!

    • This topic was modified 4 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Please provide a link to a page on your site where we can see this. Thanks. Note: Your link will be public and we will not later remove it.

    You can use the Verse block if you use the block editor.
    Or if in Classic editor, use <pre class="aligncenter"> before the poem and </pre> after. (your theme should be implementing the aligncenter class)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Centering text without centering every line’ is closed to new replies.