WordPress has such great little features, such as the built-in photo gallery. But you may want to change the look of it and style it yourself so will want to remove the default styling. Simply copy and paste the below code into your theme’s functions.php file:
add_filter( 'use_default_gallery_style', '__return_false' );