.site-header { background-color: #000; background: url(https://genesis-sample.test/images/2018/05/gfgtt.jpg) no-repeat !important; background-size: contain; background-size: cover; background-repeat: no-repeat; background-position: center; color: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.05); padding: 0 30px; /*background-size: 100% 100% !important;*/ } @media (min-width: 960px) { .site-header { background-color: #000; background: url(https://genesis-sample.test/images/2018/05/gfgtt.jpg) no-repeat !important; background-size: contain; background-size: cover; background-repeat: no-repeat; background-position: center; color: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.05); padding: 0 30px; background-size: 100% 100% !important; } }