[Resolved] Image cover does not fit with container

Home Forums Support Image cover does not fit with container

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1407102
    Hendry

    Hello,

    i am confused about how to change my image cover on the homepage to make it fit with my container

    why the left padding is larger than the right padding?

    and what should i do to remove those padding so the cover image covers the entire container

    #1407367
    David
    Staff
    Customer Support

    Hi there,

    latest WP update they changed the way cover block are displayed – which includes poor CSS that sets a 100% + padding but they neglected to add correct box-sizing. Its a known issue that WP should fix.

    In the meantime add this CSS to fix the issue:

    .wp-block-cover {
        box-sizing: border-box;
    }

    Or you may want to check out GenerateBlocks which allows you to create much more advanced layouts:

    https://generateblocks.com

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