Fix CSS and Template

Added two mire column now the gallery can be 8 column. Fix some php
error on archive templatye