Hi, i need help in order to make the banner on the home page have the same margin-top in every desktop screen. More specifically I am trying to put my logo inside that circle that fits into the Parthenon. But when I do it for the big screen it destroys the small screen, can you help me keep it the same for every screen size? thank you
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below
.banner {
position: relative;
}
.header__heading-link a {
position: absolute;
top: 10%; /* Adjust this value to position the logo */
left: 50%;
transform: translateX(-50%);
width: 100px; /* Adjust the width as necessary */
height: auto;
}
@media (max-width: 768px) {
.header__heading-link a {
top: 15%; /* Adjust this value for smaller screens */
}
}
@media (max-width: 480px) {
.header__heading-link a {
top: 20%; /* Adjust this value for even smaller screens */
}
}
And Save.
Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful.