added div for gallery page type
changed padding for gallery page type