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.

Banner starts at middle of page

  • Hello guys,

    I am using GeneratePress premium and I am using the Theme Builder of Elementor to make a template for all my blog posts (Single Post template). In the template that I build, the top banner is perfectly aligned to the left, but on my live blog post it starts halfway to the right. You see that here: https://postimg.cc/5QgpFZwN

    My developer says it has to do with: css value #content {max-width: 840px;} because when he removes this with developer tools the banner shows fine.

    Can you help me with code so that the banner shows correctly please?

  • Hi there,

    Is your developer referring to this code?

    #content {
        max-width: 820px;
        margin-left: auto;
        margin-right: auto;
    }

    If so I believe it’s coming from a Layout Element:
    https://docs.generatepress.com/article/layout-element-overview/

    If you are using Theme Builder of Elementor then you should disable that element from GP and use Elementor to handle everything.

  • Thank you Leo!

    I disabled GP for all my blog posts and it worked 🙂

  • No problem 🙂

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