html5 gallery either not working or wrong php

just try disabling WP's built-in default css styles for gallery