css added to gallery and sidebar