Tagged: shop banner image
Hi
I have a few category banner images (for ex. https://torekovs.com/produkter/armband/ and https://torekovs.com/produkter/klocka) and it looks Ok on my desktop. When I’m going to the page via a smartphone I want to change focus on the image from center to right so the persons are in focus behind the text. Does that make sense?
Any ideas how can I fix this with CSS?
Hey Magnus,
Thank you for the inquiry.
We can use this css code to adjust the position of the background and pull it towards the left so that the subject or person in the image is visible.
@media only screen and (max-width: 767px) {
#av_product_description .av-parallax-inner {
background-position: 100% 50% !important;
}
}
Please add it in the Quick CSS field or the child theme’s style.css file.
Best regards,
Ismael
Thank you for this! Looks like it’s working on https://torekovs.com/produkter/armband/ so I have to change all banner images so it works both ways… OR can i change the image instead only in mobile view?