Hello, I like how it looks on desktop, but is there a way to make the text overlap on the image, to not be separated like in the picture with this blue square on mobile. without changing the look on desktop.
Refresh theme.
Hello @bigha ,
You can try to follow these steps:
@media screen and (max-width: 767px) {
.container-class {
position: relative;
height: auto;
}
.image-class {
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.text-class {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
}
}
Hope this can help.
Ali Reviews team.
Hi @bigha
Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
Hello, thank you for your time but unfortunately this doesn’t seem to work. It is still the same.
Hello, I have sent you a message.