Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #285961

    I used the code from this post: https://kriesi.at/support/topic/why-the-parallax-image-are-left-aligned/
    To increase the size of one background image in particular: (the one with the rocket being launched – without this CSS the rocket was cut off on most screen resolutions.)
    #av_section_2 .av-parallax.avia-full-stretch {background-size: 100% 100%;}

    However, when that is viewed on a phone or a device it is severely mangled. is there a way to allow the 100% to be ignored on mobile devices?
    I tried this and it didn’t work:
    @media only screen and (min-width: 320px) and (max-width: 480px) {
    #av_section_2 .av-parallax.avia-full-stretch {
    background-attachment: scroll; height: 1952px; background-position: 0px 595px;
    }}

    #285982

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #286020
    #286037

    Hi!

    Thank you for the link.

    Please use this on Quick CSS or custom.css:

    @media only screen and (max-width: 480px) {
    #av_section_2 .av-parallax.avia-full-stretch {
    background-size: 100% auto;
    background-position: top center !important;
    background-attachment: fixed !important;
    }
    }

    Cheers!
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.