[Resolved] Columns Breakpoint

Home Forums Support [Resolved] Columns Breakpoint

Home Forums Support Columns Breakpoint

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #785842
    Ryan

    I was trying to change the breakpoint on the gutenberg wp-block-columns from 768px to 767px for portrait ipads to still have the 3 columns. Could you recommend some css that would do this, I wasn’t very successful figuring it out myself. Thanks!

    #785905
    David
    Staff
    Customer Support

    Hi there,

    try this:

    @media (max-width: 767px) {
        .wp-block-columns {
            margin-left: -2%;
        }
        .wp-block-columns .wp-block-column {
            flex-basis: 31%;
            margin-left: 2%;
        }
    }
    #785967
    Ryan

    Great thanks.

    #785974
    David
    Staff
    Customer Support

    You’re welcome

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