Tagged: mobile site
On the mobile site I need to shift the background photo to the left about 40%. ONLY the mobile site not the desktop site.
I used this code for another site but I’m sure I need to edit it.
@media only screen and (max-width: 767px) {
#photo-center .av-parallax.avia-full-stretch.active-parallax {
background-position: 35%!important;
}}
Can you help?
Thank you
Hi Jasmer!
I couldn’t find a sections called #photo-center on the page you linked, do we need to be logged in order to view it?
Cheers!
Rikard
Hi!
Can you please let us know, in which of those sections you want to move the image? As you do not have a ” #photo-center ” we need to name one, so the code can work.
Regards,
Basilis
I fixed it. Since there is only one section on this site, I went to the color section and created a tag “custom section” in the developer ID field. Then I added the code below and experimented with the numbers.
@media only screen and (max-width: 767px) {
#custom-section .av-parallax.avia-full-stretch.active-parallax {
background-position: 60% 10% !important;
}} /*move background photo left*/
Thanks. Problem solved.