[Resolved] Background Image

Home Forums Support [Resolved] Background Image

Home Forums Support Background Image

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #2143841
    metcomllc@aol.com

    Yes, I changed the code about 2-3 hours ago. You will notice the link is different.

    @media (max-width: 768px) {
        .gb-container.gb-container-d038e518:before {
            background-image: url(https://magicalearthretreat.com/wp-content/uploads/2022/03/shutterstock_1106877812-7.jpg)
        }
    }
    #2143881
    Leo
    Staff
    Customer Support

    Looks like it’s working:
    https://www.screencast.com/t/5vfGzBwXK

    #2143888
    metcomllc@aol.com

    Yes it does. It’s really hard to show the part of the image I want to on mobile. Any suggestions?

    #2143903
    Ying
    Staff
    Customer Support

    You can try this CSS for mobile background image position:

    @media (max-width: 768px) {
        .gb-container.gb-container-d038e518:before {
            background-position: 30% 10%;
        }
    }

    30% presents the position on x direction, and 10% presents the position on y direction. Feel free to try different values.

    #2143944
    metcomllc@aol.com

    Thank you.

    #2143964
    Ying
    Staff
    Customer Support

    No problem 🙂

Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.