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.

Center my blog content

  • I am trying to migrate from Elementor Pro to GeneratePress /Generate Blocks and I understand I have to rebuild everything from scratch. I had previously built my site using Elementor and had someone make customizations using CSS but I don’t recall how everything was done.

    Specifically, now with GP/Generate Blocks – I’m trying to create a post template using Appearance-> Elements in WordPress. However, every time I publish and apply the template to the posts I’m seeing that the post is never centered and has an overlapping featured image (see image 1). I think it’s because I have some side panel to the right but I have no idea how to get rid of that.

    See images 2 and Image 3. Image 2 shows what the blog post looks like now (live with Elementor). Image 3 is the Element Post template block I’m trying to create but struggling with making the text centered. And finally Image 4 is the formatting that I’d like to achieve with my blog. Your help is appreciated I’m stuck in a rabbit hole – thank you!

  • Hi there,

    For the extra spacing, can you link me to the post in image 1?

    By looking at the screenshot, I would suggest setting the green background container’s overflow-yand overflow-x to visible,

  • Hi Ying, I’ve linked the post in the ‘private’ section. I’m not sure what you mean by overflow-y and overflow-x to …I can google it but I’m not super technical so if you can help me out on where to look for that (talk to me like a 1st grader haha)…that would be great

  • I’m not sure what you mean by overflow-y and overflow-x to

    The options are shown in your screenshot of the element editor, on the right side of the editor.

    I’ve linked the post in the ‘private’ section.

    There’s only your site link, no post’s link is found.

  • oh looks like I can’t add anything to the private information section so here it is

  • I tried making overflow-x and overflow-y visible and that didn’t do anything

  • I think perhaps the way my current site is set up (maybe its code or something?) if you look at the post I just linked that there is space on the right that displays “other published posts”, “author bio”, etc….that my Element isnt allowed to be centered perhaps?

  • Can you link me to the post on your GP site so I can see what’s wrong with the settings?

  • Hi Ying – I already linked you to the post previously. I’ll do it again here. https://learnplanting.com/soil-care/fertilizer/oak-trees/

  • I’m seeing that the post is never centered and has an overlapping featured image (see image 1).

    In your original topic, the screenshot image1, where can I see the post that has the issue?

    The link you provided is using Elementor, it does NOT have the issue, I just need to see the issue.

    Let me know!

  • ah got it, makes sense. I just applied the post template to the same article so the issues should now be reflected in that article

  • It seems the posts are cached, I’m still not seeing the elements being applied.

    Please clear your cache.

    You can check the post in an incognito window of your browser, when it’s ready, let me know, and I’ll take a look then 🙂

  • ok should work now!

  • Hello there,

    The top part of the Post you linked seems to be coming from an Element. The Container Block in this Element needs an inner Container that has a max-width. Then give the inner Container auto left and right margins. Reference: https://docs.generateblocks.com/article/add-inner-container/#when-should-i-add-an-inner-container-block

    As for the content itself, it’s created through Elemementor. You’ll need to center it from there. But, your layout seems to have a sidebar, so inherently, it’s actually centered with the sidebar added.

  • I’m trying to deactivate Elementor and migrate to the GeneratePro / Generate Blocks ecosystem. Do you know how I can change the layout to not have a sidebar? IS that something I need to do through Elementor or through your tool?

  • Ok I found a place where MAYBE this is where you remove the sidebars? I went into may WP dashboard>>Appearance>> Customize>>Layout>>Sidebars. I found this formatting initially in image 1 and I tried changing to image 2 as you can see NO SIDEBARS…but nothing changed even when I published it. I dont’ understand where to get rid of the sidebar….can you help me?

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