• Resolved rodario

    (@rodario)


    Hello

    I can’t seem to center post titles with the header I’ve chosen. They’re always aligned left.

    In the post settings themselves, I’ve chosen to center the title.

    In customization, the title is selected as centered, but displayed left aligned. When I first choose left align, then choose centered again, it’s displayed correctly (centered) in the customization preview, but as soon as I publish and look at the page, it’s left aligned again.

    Can someone help me figure this out? Thanks in advance and have a good day.

    PS: This concerns all posts, not just the linked one.

    • This topic was modified 3 years, 1 month ago by rodario.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @rodario!

    Thanks for choosing Neve!

    I checked your site and it seems to be a conflict with the Yoast plugin that generates the breadcrumbs and overrides the title position configuration. However, it should be possible to center the title by inserting the code below in the Additional CSS section within the Customizer.

    .single-post .container.has-text-align-center {
        justify-content: center !important;
    }

    Let me know how this worked!

    Have a nice day!

    Thread Starter rodario

    (@rodario)

    Hi @luciamarinescu

    Thank you for your reply and workaraound: It worked.

    I also tried to just disable yoast breadcrums, but that didn’t let the title center unfortunately.

    Do you know of a way to stop yoast overriding title placement directly? That would just be a bonus since this solution already works.

    I also have another question but I’ll post that separately.

    Thank you, and you too ??

    Hi there!

    I’m glad the code worked! I tried to replicate the issue but unfortunately I couldn’t, on my test instance Yoast doesn’t impact the title position, so it may have something to do with the configuration of your environment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t center Post Title’ is closed to new replies.