@vincitaylaran
Posted
Fantastic work! For the bug you mentioned, one way I fixed it was by giving the .testimonials
a margin-top: -260px
and height: 1100px
.
@media screen and (max-width: 1100px) {
.testimonials {
height: 1100px;
margin-top: -260px;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
}
It's not a clean fix but it should do the trick. If you or anyone else finds a cleaner fix, please do share!
Looking forward to your progress!!
@spymon
Posted
Hi @vincitaylaran 👋 Thank you for your suggestion. I appreciate it 💖
Somehow changing height
and margin-top
property didn't work out for me, but I added position: relative
and changed top
to lift the .card
to the place I wanted.
@include media-md {
.card {
position: relative;
top: -240px;
}
}
Thank you again for helping me out 😊