*{ margin: 0; padding: 0; box-sizing:border-box; } .pageheader{ background-color: #000000; height: 101px; width: 100%; display: flex; justify-content: center; padding: 29px;} .imageheader{ justify-content: center; } .main-bannermobile{ width: 100%; } .main-banner{ width: 100%; } @media (max-width:414px) { .main-banner{ display: none; } } @media (min-width:415px) { .main-bannermobile{ display: none; } }