• A freelancer did some revisions to my blog using
    Kadence Blocks – Gutenberg Blocks for Page Builder Features

    I’m embarrassed to say that I am having difficulty creating
    a line break in my headlines without using “br” in brackets.

    Also, how do I center the headlines (since they are showing left)?

    Thanks for any help you can offer.

    Robert

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hey,
    Thanks for reaching out! Using “br” is actually your simplest way of creating line breaks. As for centering your title, you can do this from Customize > Posts/Pages Layout > Single Post Layout > Post Title Align.
    Hope that’s helpful!

    Best,
    Hannah

    Thread Starter taxtorpedo

    (@taxtorpedo)

    Hannah:

    Many thanks for your input. I adjusted the Post/Pages Layout
    as you suggested and now my headlines are centered. I now have
    to clean up the headlines where I had no linebreaks.

    I have found that when some of my posts are shared on social
    media the “br” coding shows up in the headline. That is why
    I’m searching for an alternative.

    Thanks again.

    Robert

    hannah

    (@hannahritner)

    Hey Robert,
    That makes sense. There actually isn’t a built-in way to add a line break in the title. But as a workaround you can add a max-width to the title with CSS, forcing it to wrap. This css should work for you:

    header.entry-header.post-title.title-align-center.title-tablet-align-inherit.title-mobile-align-center {
        max-width: 500px;
        margin: auto;
    }

    You can paste that into your custom css in the Customizer.
    Hope it helps!

    Best,
    Hannah

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best way to break a headline into multiple lines’ is closed to new replies.