[Resolved] gutenberg columns block alignment

Home Forums Support [Resolved] gutenberg columns block alignment

Home Forums Support gutenberg columns block alignment

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #988082
    Melissa

    I know I’m sending you guys too many questions. Thanks for your patience!

    I’m playing with doing my frontpage with Gutenberg blocks and I’m running into an issue with aligning the columns block in the center. You can see this in the grey stripe “We’re In/Heading To” section and the map and map menu section. I used css to limit the width to the usual container size, but this seems to also push the columns to the left. Floating the columns block to the center with css doesn’t work. Help?

    https://theslowroad.org/sample-page/

    #988140
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using any caching plugins? Any chance you can clear and disable it for now so I can inspect the code properly?

    p.s. I’m from Taiwan originally. Have fun there!

    #988191
    Melissa

    Thanks! Everyone tells us that people in Taiwan are welcoming and the food is great!

    I don’t think there’s any caching going on.

    #988292
    Leo
    Staff
    Customer Support

    Just to confirm, you didn’t add any of the CSS here?
    https://www.screencast.com/t/7CVaPzSsZ6

    #988338
    Melissa

    No, it’s not mine.

    #988388
    Leo
    Staff
    Customer Support

    Edit this CSS:

    .location {
        max-width: 1000px;
    }

    to this:

    .location {
        max-width: 1000px;
        margin: auto;
    }
    #988445
    Melissa

    Perfect–thank you!

    #988491
    Leo
    Staff
    Customer Support

    No problem 🙂

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