Paste the following in Appearance > Customize > Additional CSS: .div { margin: 0; position: absolute; left: 50%; margin-right: -50%; transform: translate(-50%, -50%); } Source: https://www.w3.org/Style/Examples/007/center.en.html PrevNext