Hi,
I am using the product list on one of my pages and when the product list is shown in mobile view, the price and the title are overlapping. How can I fix this?
Thank you in advance!
Best,
Anton
Hey tonydobrevski,
On the following CSS rule:
.av-catalogue-price {
position: absolute;
right: 0;
top: 0;
}
for Media queries u need to remove position: absolute;
So make it something like:
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2) {
.av-catalogue-price {
position: relative;
right: 0;
top: 0;
}
}
Let us know if it works :)
Best regards,
Basilis
Hi Basilis,
Thank you for your response!
It works, however, how can I make it work also for smaller devices (under 375px). I tried changing the “min-device-width” to 300px but it didn’t work.
Thank you in advance!
Best,
Anton
Hi,
You have to adjust the view port. This line:
and (min-device-width: 375px)
to:
and (min-device-width: 200px)
Or just remove that line completely.
Best regards,
Ismael
Hi Ismael,
Thank you for your reply! It worked when I used and (min-device-width: 200px)
Best,
Anton
Hi,
I’m glad this worked out. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon