styling theme gallery page and theme pages thunmbnails