Adding the following snippet to your theme’s functions.php file, you will be able to remove standard gallery style in WordPress.