This code vertically aligns anything that it is added to
#id{ position: relative; top: 50%; transform: translateY(-50%); }