• Resolved siddardha

    (@siddardha)


    Ho,

    I created a block with two columns and inserted an image of 250×250 size and set the image dimensions to be 50% from the block settings.

    The image column is set at 20% width and the other column is set at 80% width. But each column seem to be taking 50% of the page width instead.

    Please help find where the issue is..

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    It appears your theme has changed the column container’s CSS display property from the default display: flex to display: grid, that’s why the width option is not working, as the flex-basis which WordPress uses to set the width of each column only works with flex, not grid.

    To fix this, place this CSS code in APPEARANCE => CUSTOMIZE => ADDITIONAL CSS.

    .wp-block-columns {
    display: flex !important;
    }

    Good luck!

    Thread Starter siddardha

    (@siddardha)

    @gappiah
    Thank you, it worked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘column width issue’ is closed to new replies.