for 3.8 galleries to control css