Move media css block to be next to relevant class