[Resolved] List block doesn’t wrap text within GB

Home Forums Support [Resolved] List block doesn’t wrap text within GB

Home Forums Support List block doesn’t wrap text within GB

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1414379
    Michael

    Hi again. In GB the list looks perfect, but when previewed the list block shown in the middle of my About page doesn’t wrap the text. What’s wrong? Thanks.

    #1414445
    Leo
    Staff
    Customer Support

    Hi there,

    I’m not seeing a list block on the About page.

    Can you confirm?

    #1417872
    Michael

    Hi Leo. It is the grey background box midway into the page holding quotes, that starts with the text ““What’s great about Feerer’s book…”
    Thanks.

    #1417874
    Michael

    Oh, sorry… I mean the “Past Projects” page… menu = “The Past”

    #1417878
    Leo
    Staff
    Customer Support

    You are using a pre formatted block there:
    https://www.screencast.com/t/mmmfZPj8

    I don’t think that’s intended?

    #1417884
    Michael

    So what kind of block should I use to create a similar look but with wrapped text?

    #1417886
    Leo
    Staff
    Customer Support

    You could just use a container block and apply a background color?

    This CSS would work for your current set up but it’s a bit hacky:

    .entry-content pre.wp-block-preformatted {
        white-space: pre-wrap;
        white-space: -moz-pre-wrap;
        white-space: -pre-wrap;
        white-space: -o-pre-wrap;
        word-wrap: break-word;
    }
    #1417891
    Michael

    Thanks. That’s what I originally tried, but I wasn’t doing something correct. I’ll try again.

    #1417987
    Leo
    Staff
    Customer Support

    No problem 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.