[Resolved] Layout borders aren’t working for blocks anymore

Home Forums Support [Resolved] Layout borders aren’t working for blocks anymore

Home Forums Support Layout borders aren’t working for blocks anymore

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1402518
    vitasco

    Hi there,

    after the recent update there’s a problem with our layout.

    When there are blocks inside a page (especially the block „cover“) the right space of the content is not the same as on the left side. It’s a lesser amount.

    With other content (group, YouTube videos or sliders) all is good.

    What could be the problem…?

    I’ve deleted all cache … recreated the css files … but the problem still exists.

    Kind regards
    Marco

    #1402787
    David
    Staff
    Customer Support

    Hi there,

    have to WP and its ever changing block styles ….
    Try adding this CSS for now:

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

    Hello David,

    thanks for your kind reply …

    I was diggin’ there too.

    You’ve missed: .wp-block-cover,

    …and it works like a charme.

    Kind regards
    Marco

    #1405978
    David
    Staff
    Customer Support

    Yeah – i was being dumb lol.
    You should only need that one:

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

    No problem at all … so was I 😀

    Thanks a lot!

    #1406216
    David
    Staff
    Customer Support

    You’re welcome

    #1448178
    Daniele

    Hi guys,
    it will be fixed in next release?
    .wp-block-cover {
    box-sizing: border-box;
    }

    #1448363
    David
    Staff
    Customer Support

    Hi there,

    its actually something that WP core needs to fix.
    However in GP 3.0 if the Flex option is used this will auto apply border-box to elements.

    #1448382
    Daniele

    ah ok thanks!

    #1448467
    David
    Staff
    Customer Support

    You’re welcome

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