.brx-popup-content{ width:500px; top:45%; position:absolute; right:3%; padding: 5px; background-color: var(--bg-dark); text-align: center; } .brx-popup{ position: inherit !important; z-index: 0 !important; } @media (max-width:767px) { .brx-popup-content{ width:300px; top:30%; right:2%; } }