Answer the question
In order to leave comments, you need to log in
Why doesn't it fire on margin top via @media?
The "desktop" margin-top is processed normally, but in the mobile version, no matter what values you set, I don't see any changes. I check on this page (bw image)
.single-featured-image-header img {
height: 25%;
margin-top: 40px;
width: 25%;
}
@media only screen and (max-device-width: 480px) {
.single-featured-image-header img {
width: 100%;
height: 100%;
margin-top: 40px;
}
}
Answer the question
In order to leave comments, you need to log in
'Cause it's worth redefining
@media only screen and (max-width: 767px)
.single-featured-image-header img {
margin-top: -22px;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question