changing the styling to work with new layout