Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Can’t align container in center

  • I’m creating a page and have everything inside a container. I want to position the container so that it is centered, so that everything on my page is centered (since it’s all inside). But I can’t seem to figure it out. Right now the container and all of its content is stuck over on the left side of the screen.

    Anyone know how to fix this? I know that I can mess with the padding and margin but I think there should be an easier way.

    page view

    Don’t think the image is showing up. But here it is: https://ibb.co/C1QDYj1

  • Hi there,

    Select the container, and set its margin-left and margin-right to auto.

    if this doesn’t work, can you link us to the page?

    Let me know 🙂

  • Thanks for this. It worked 🙂

  • Glad to hear that 🙂

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