.no-data { position: fixed; top: 35%; width: calc(100% - 3rem); /* remove page padding */ } .no-data img { width: 60%; } .no-data p { font-size: 1.2rem; }