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