It seems that you are using WordPress gallery on the page/post. So, we recommend you to check how to make the gallery on WordPress. Hope, this handbook will help you to change the column and everything related to gallery easily. https://developer.wordpress.org/themes/functionality/media/galleries/
Let us know the results.